Commit Graph

12 Commits

Author SHA1 Message Date
Tony Breeds e72a16d6d9 Add reqs2pkg
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
2022-09-06 12:37:13 +10:00
Tony Breeds 2d447598e2 Move CLI code into it's own module
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
2022-08-29 13:59:43 -07:00
Tony Breeds 6626d1f62e Convert from "-" to "_" in setup.cfg
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
2022-08-29 13:57:56 -07:00
Andreas Jaeger f740d320fc Cleanup py27 support
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
2020-04-05 10:25:07 +02:00
Dirk Mueller 037724dd88 Switch away from deprecated distribution lookup
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
2020-03-23 12:37:13 +01:00
Corey Bryant 4229765d71 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Depends-On: https://review.opendev.org/669542

Change-Id: I7add04a3f3d02c5e771088986920b6743234dfee
Story: #2005924
Task: #34235
2019-07-05 16:28:44 -07:00
melissaml bfdd7ecf04 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Icbbf61a30e1a3520c27002e41ae55330da88389e
2018-12-04 20:13:35 +08:00
Hangdong Zhang 4dbe2ab435 Update home-page according to doc migration
Change-Id: Ifd8e3b0cfe70929b116167c00399f432e4e0b07e
2017-07-25 09:52:47 +08:00
loooosy 770f2303f1 Drop py34 and add py35 in setup.cfg tox.ini
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
2017-04-25 00:45:54 +00:00
Cao Xuan Hoang f56b677520 Changed the home-page link
Set the correct url link for home-page

Change-Id: Iaabd527b8a3b51e46e0e8d3603af906e8179b0c6
2016-12-01 15:51:36 +07:00
Thomas Bechtold 722956693a Switch to pbr for building pymod2pkg
This is in line with other OpenStack projects.

Change-Id: I22d5d19df2261c9f9b48c495b52a78f2eee58206
2016-06-06 15:12:16 +02:00
Thomas Bechtold 788c70ab26 Restructure documentation
- 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
2016-01-07 19:09:50 +01:00