Global requirements for OpenStack
Go to file
Joshua Harlow 10fb194613 Add a file that can detail the requirements files
From the ML discussion there was a desire to provide
a more detailed version of the requirements that has
information such as license, author... This script
gathers such information from the pypi json API and
writes it to corresponding files that can be used by
automated programs that want to determine this information
without having to go to pypi themselves.

This can be useful for doing requirement license
auditing for example.

To run:

$ python detail.py global-requirements.txt

This will gather the information about the requirements
from pypi (if possible) and then write a new file located
at global-requirements.json with this information.

Change-Id: I710feb7038eec0c916593cce0837823e7f4fce15
2014-03-19 11:44:50 -07:00
tests Merge "Remove vim header" 2014-02-25 06:25:12 +00:00
.gitignore Ignore egg-info directory 2014-01-23 00:16:18 +08:00
.gitreview Added .gitreview 2012-08-06 17:05:39 -05:00
.testr.conf Remove unneeded tests dir reference 2013-08-08 12:04:04 -03:00
MANIFEST.in Make openstack.requirements installable. 2013-07-05 00:31:50 -04:00
README.rst Update README with rationale and internal mirror 2014-02-07 15:36:49 -05:00
detail.py Add a file that can detail the requirements files 2014-03-19 11:44:50 -07:00
dev-requirements.txt Allow use of oslo.messaging 1.3.0a4 from pypi 2014-01-22 11:53:41 +00:00
global-requirements.txt Merge "Correct iso8601 parseing invalid year num" 2014-03-11 17:27:33 +00:00
projects.txt Rename Savanna to Sahara 2014-03-12 20:51:34 +04:00
setup.cfg Make openstack.requirements installable. 2013-07-05 00:31:50 -04:00
setup.py Align our setup.py with ourselves 2013-09-30 17:15:56 -04:00
test-requirements.txt Temporary fix testtols version to unblock gate 2014-01-29 15:46:04 +04:00
tox.ini workaround pypy in requirements 2014-03-17 23:56:59 +00:00
update.py Merge "Remove vim header" 2014-02-25 06:25:12 +00:00

README.rst

Global dependencies for OpenStack Projects

All official OpenStack projects should be added to projects.txt. Once they are added here the gate/check jobs for the projects will use the OpenStack internal pypi mirror to ensure stability. The continuous integration infrastructure will also sync up the requirements across all the official projects and will create reviews in the participating projects for any mis-matches.

This process above will ensure that users of OpenStack will have one single set of python package requirements/ dependencies to install and run the individual OpenStack components.

To use this, run:

python update.py path/to/project

Entries in requirements.txt and test-requirements.txt will have their versions updated to match the entires listed here. Any entries in the target project which do not first exist here will be removed. No entries will be added.