This tool reads in one or more python requirements files and generates
a list of distribution specific package names the intent is to use it
something like:
sudo ${package_manager} install $(deps2pkg -r requirements.txt -b)
sudo pip install .
To install a python project that runs against the distribution provided
pagages rather than pypi wheels/dists
Change-Id: Icd0720311e7863190b84aa916f13e7efa830a4eb
This makes pypkg2mod more like a conventional library/module by moving
the cli code into it's own module. Making room for additional command
line interfaces
Change-Id: If15b85ac3230adf9cf2bc8a9c1c7a9ac9f31eda9
Get away from wrnings like:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: Ib111b58bd7ac79cecc5a5b3dd480942e8a516cb7
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: I1251a9904fcc146ec615ba2c7f93a1b675e3220f
Python 3.8 removed the linux_distribution support, we need
to switch to the distro package.
To pass testing, we need to update to a newer flake8 version.
Also update setuptools annotation since Python 2.x support
has been dropped.
Change-Id: I40768af80ff376866b1070026a93fd3f4bb1c2e4
Python 3.5 is supported now. We do not have Python 3.4 in
setup.cfg which declares the explicit supported versions.
For more information, see:
https://review.openstack.org/#/c/349069/
Change-Id: I2e1235b2f9c340bc46ddb0c79bdf1e0cc3627b15
- Convert README from markdown to restructured text
- Add documentation template for Sphinx
- Add setup.cfg file so that sphinx build is done in
doc/build/html as expected by infra scripts.
This is the way OpenStack projects usually do documentation.
Change-Id: I7e40a2e6fe14e63bd33f9b1ea1f31db23c7501b8