|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
bignose commented 5 years ago | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
bignose commented 5 years ago Why are these lines removed? These (and similar blocks in other files) are useful “editor hints” for the Vim and Emacs text editors. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
bignose commented 5 years ago Python 2.7 still requires this, if I understand this correctly. Have you tested whether this continues to work in Python 2? | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
bignose commented 5 years ago This merge request removes references to the project version. How is this functionality preserved? Or is this a proposal to not use the Changelog as the source of the version string? If so I think we can't accept that. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
bignose commented 5 years ago Please keep the actual | ||
|
||
|
||
|
||
|
||
|
||
|
||
Since python-daemon distribution facing issues
related to dependances management this commit
try to avoid this kind of problem and try to
simplify the project release management by using pbr.
This commit introduce:
- packaging metadata management by using configuration file;
- introduce PEP 516;
- introduce requirements file;
- convert README to rst format for a better visualization on pagure and better compatibility with pbr.
Using it:
- install pbr (pip install pbr
);
- create a new tag (git tag 9.9.9
) (by example...);
- build and dist (python setup.py build && python setup.py sdist
);
- publish your release on pypi by using twine or whatever you want.
pbr[1] allow simplify python packaging by automatizing:
- semver[2] management;
- changelog generation;
- authors file generation.
[1] https://docs.openstack.org/pbr/latest/
[2] https://semver.org/
Co-authored-by: Hobbestigrou hobbestigrou@erakis.eu
This project still needs to support Python 2. Can you ensure it works with the existing Python version declarations?