summaryrefslogtreecommitdiff
path: root/setup.cfg
Commit message (Collapse)AuthorAgeFilesLines
* Update some url to use opendev.orgAntoine Musso2020-08-061-1/+1
| | | | | | | | | The git web URL is now: https://opendev.org/openstack/pbr Also stop linking README.rst to no more existing history/changelog documentation page (removed by 96b84a90141). Change-Id: I56b0e2b86a7fc66c5ae25e06175033a885f500f6
* Update python requires packaging metadata for packageMatthew Treinish2020-08-061-1/+1
| | | | | | | | | | | | | | | The metadata field, 'python-requires' was introduced in PEP440 and appears to have superseded 'requires-python'. [1] The metadata that pbr uses for itself and it's test package was using the old incorrect field, this commit updates it to be the proper metadata to show a working example. To a certain extent it probably doesn't matter because it's very unlikely someone will try to install pbr with python 2.5, but it's more about making sure that pbr itself is leading by example and that it's own config actually works. [1] https://github.com/mtreinish/stestr/issues/292 Change-Id: I5eb14d490a3731b6b95d7a1137c33ec2d73f193f
* Resolve some issue with tox.ini, setup.cfgStephen Finucane2019-06-131-14/+14
| | | | | | | | | - Use constraints for documentation targets - Indicate support for Python 3.6, 3.7 - Fix indentation Change-Id: I486b6f645fa71f0fa519464465bf26411ca4faf4 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Stop using pbr sphinx integrationBen Nemec2019-06-071-13/+0
| | | | | | | Switch to sphinx-build directly and add sphinxcontrib-apidoc for generated api docs. Change-Id: I089a7695986892dcb47c5b5e79a6a227891a2347
* Change openstack-dev to openstack-discussqingszhao2018-12-041-1/+1
| | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I18a5f9696659bce3c03018b636968d5c3c96dc73
* Support wheel 0.32.0+Stephen Finucane2018-10-041-1/+1
| | | | | | | | | | | | | Wheel 0.32.0 removed the 'wheel install' command [1] and, subsequently, the 'wheel.install' module [2]. It also made 'WheelFile' a subclass of 'zipfile.ZipFile' rather than a wrapper [2] and deprecated the '[wheel]' section of 'setup.cfg' in favour of '[bdist_wheel]'. Handle these changes. [1] https://github.com/pypa/wheel/commit/353217fb4 [2] https://github.com/pypa/wheel/commit/89492505b Change-Id: I2903089a07bdd2dc96437b9f65f2d2bba2741707
* Switch to stestrStephen Finucane2018-07-181-4/+0
| | | | | | | | | | | | | | According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. While we're at it, we also fix the docs requirements and removed the unused 'pypy' and 'cover' tox targets. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I424068adc9092be2cf40d117c9dc4e92bb51e804 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Merge "Support PEP 345 Project-URL metadata"Zuul2018-01-081-0/+4
|\
| * Support PEP 345 Project-URL metadataJeremy Stanley2017-11-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By including one or more Project-URL entries in PKG-INFO metadata, PyPI can display helpful hyperlinks in a generic manner. Add support here to be able to pass it through setup.cfg with a project_urls dict. See the corresponding section of the Core Metadata Specifications from the Python Packaging User Guide for details: https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use Setuptools implementation is underway here: https://github.com/pypa/setuptools/pull/1210 Change-Id: I14e580c654b619cab7eb24e31f736056d6cf9bd4
* | Support Description-Content-Type metadataJeremy Stanley2017-12-041-0/+1
|/ | | | | | | | | | | | As of setuptools 36.4.0, support for Description-Content-Type metadata was added via the long_description_content_type variable. Add a metadata.description-content-type option for setup.cfg so it can be provided through PBR. This makes it possible to instruct PyPI and potentially other frontends to know an explicit RFC 1341 content type, along with character set and variant, for the accompanying long description. Change-Id: I852f603d9ca4e4cd469eab4cae9933ef2581e3af
* Remove py26 supportzhangyangyang2017-09-201-1/+0
| | | | | | | | | | as of mitaka, the infra team won't have the resources available to reasonably test py26, also the oslo team is dropping py26 support from their libraries. sine we rely on oslo for a lot of our work, and depend on infra for our CI, we should drop py26 support too. Change-Id: I628f5a1463a893bfc16f795ef7144cd2376130de Closes-Bug: #1519510
* Update URLs in documents according to document migrationChangBo Guo(gcb)2017-07-131-1/+1
| | | | Change-Id: I8018f0cc0b0f7642d9e0e65f14c9c8a8315b55b9
* turn on warning-as-error flag for doc buildDoug Hellmann2017-06-221-2/+1
| | | | | Change-Id: I5566cfa09dac8dec7a1bc32d95b42d5b136d726f Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* rearrange existing documentation using the new standard layoutDoug Hellmann2017-06-221-0/+1
| | | | | | Change-Id: I885f1adf4fbfc1137c6c48039096bd7bdf89cbd3 Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Merge "Remove testr entry point"Jenkins2017-03-271-2/+0
|\
| * Remove testr entry pointIan Wienand2017-02-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A "testr" entry-point was added to PBR in I2227adf3643ffe6bcece0c7d2127d23e20d52f7a in Jun 2013. However, testrepository had already started providing this same disutils.commands entry-point in Jan 2013 [1]. I am not sure if it is deterministic who wins when two packages declare the same entry-point, but at least for me, running "python setup.py testr ..." was not calling into any of the pbr hooks. I discovered this because I wanted to use the --coverage-package-name argument provided by the pbr testr wrapper because to s/-/_ in dib. The original change (I8e4bc9bb78be37b4d13f8d6c2edfe2d67554ad78) overrides the setuptools provided "test" [2] to call testrepository when it sees a .testr.conf file (falling back to nose for compatability). So it seems the intention was not to add a "testr" command, but that "test" is overridden to run testr automatically when available. Therefore I think that testrepository owns the distutils.command entry-point for "testr". To avoid confusion we should remove the duplicate entry-point here and just leave the "test" command overrides. I've added documentation on the test command. The testr/test split is quite confusing, being only one letter different, so that is called out explicitly. Comments in testr_command are updated to reflect what's happening better. This also converts the calls in tox.ini to use the PBR wrapper "test". [1] https://github.com/testing-cabal/testrepository/commit/2a36806c698f67f4707cfccb4baabb473e38f06c#diff-2eeaed663bd0d25b7e608891384b7298R96 [2] https://github.com/pypa/setuptools/blob/master/setuptools/command/test.py Change-Id: I5b68f03e782fef5c45424c04cc851be5988f9019
* | Stop using 'warnerrors'Stephen Finucane2017-02-271-2/+3
|/ | | | | | | | | | | | | | This legacy option provided the ability to fail on doc warnings. However, this functionality is broken in recent releases and now exists in Sphinx itself (since 1.5.0). Rather that fixing it and causing a whole load of doc build errors introduced in the time since this option was broken, remove it, preferring the new Sphinx option instead. This allows us to remove a lot of test code which is essentially testing Sphinx functionality only now, based on the assumption that Sphinx do adequate testing themselves. Change-Id: Ia4b6adefcd437cb1ceb4558b004c17359df2486d
* Changed the home-page linknizam2016-10-191-1/+1
| | | | | | Set the correct link for home-page. Change-Id: I1ab60f97a5078da98fded6339e1e18f91750c4b9
* Merge "Move to oslosphinx"Jenkins2016-07-201-0/+4
|\
| * Move to oslosphinxIan Wienand2016-06-221-0/+4
| | | | | | | | | | | | | | | | | | I noticed the current API documentation is unreadable [1]. Remove the inbuilt theme and move to oslosphinx for module/api documentation. [1] http://docs.openstack.org/developer/pbr/api/pbr.version.html Change-Id: I8d92d849b8a2ab4baca960ae8c271214d3c2b8f4
* | Add Python 3.5 classifier and venvChangBo Guo(gcb)2016-07-121-0/+1
|/ | | | | | | | Now that there is a passing gate job, we can claim support for Python 3.5 in the classifier. This patch also adds the convenience py35 venv. Change-Id: I38213e5ade2e9b1329262c9b28b87ce1cabc279a
* Advertise support for Python3.4Davanum Srinivas2015-05-081-0/+1
| | | | Change-Id: I648f865550069209ffbf63dc05bcba3234b026c0
* Move write_pbr_json to avoid issues with noseClark Boylan2014-12-211-1/+1
| | | | | | | | | Put write_pbr_json in pbr.pbr_json so that you do not need to import pbr.packaging to use it. This avoids python3 errors with nose where nose is imported by pbr before it is converted to python3 by 2to3 under python3. Change-Id: I1c420fed609bc60bbfdf78eb219e067ccab1a61e
* Port in git sha changes from 0.10 lineMonty Taylor2014-12-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop including git sha in version strings We include it in pbr.json now. Including it is contentious in the world of python, and it's up for debate as to whether or not it provides value. Write and read more complex git sha info Instead of encoding the git sha into the version string, add it to a metadata file. This will allow us to get out of the business of arguing with pip and setuptools about version info. In order to make this really nice, provide a command line utility called "pbr" that has subcommands to print out the metadata that we're now including in the egg-info dir. Only import sphinx during hook processing When pbr is imported to handle writing the egg_info file because of the entry point, it's causing sphinx to get imported. This has a cascading effect once docutils is trying to be installed on a system with pbr installed. If some of the imports fail along the way, allow pbr to continue usefully but without the Sphinx extensions available. Eventually, when everything is installed, those extensions will work again when the commands for build_sphinx, etc. are run separately. Also slip in a change to reorder the default list of environments run by tox so the testr database is created using a dbm format available to all python versions. Integration test PBR commits Make sure that if a PBR commit is being tested then we install and use that source rather than the latest PBR release. Change-Id: Ie121e795be2eef30822daaa5fe8ab1c2315577ae (cherry picked from commit 65f4fafd907a16ea1952ab7072676db2e9e0c51d) (cherry picked from commit cd7da23937b66fea3ec42fa2f5a128f363a97e7e) Closes-Bug: #1403510 Co-Authored-By: Clark Boylan <clark.boylan@gmail.com> Co-Authored-By: Doug Hellmann <doug@doughellmann.com> Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
* Clean up links and docsDoug Hellmann2014-10-081-1/+1
| | | | | | | | | | | | Move some developer information for running tests out of the README to the documentation. Change the home page link to point to the launchpad page. Add a link to the bug tracker to the README. Change-Id: I29bdb071eb64bccc561844c130a256b8f998da5f Closes-Bug: #1318548
* Register testr as a distutil entry pointSteve Kowalik2014-06-111-0/+2
| | | | | | | | | pbr contains a testr distutil command, but since it isn't registered as an entry-point, it won't get used. Also drive-by a fix to coverage, where we go to the trouble of setting a variable, and then not using it. Change-Id: I2227adf3643ffe6bcece0c7d2127d23e20d52f7a
* Declare support for Python versions in setup.cfgAlex Gaynor2014-03-011-0/+5
| | | | Change-Id: Iffdcf7a6eab6990f9b32669070b8a4173e834613
* Merge "Support building wheels (PEP-427)"Jenkins2013-11-231-0/+3
|\
| * Support building wheels (PEP-427)Sascha Peilicke2013-11-191-0/+3
| | | | | | | | | | | | | | With that, building and uploading wheels to PyPI is only one "python setup.py bdist_wheel" away. Change-Id: Idfc291f496a81498df6408f189854f49eca496d3
* | Bump the development status classifier.Alex Gaynor2013-11-191-3/+3
|/ | | | Change-Id: Ib64c45080ad256fd0019072deef19fb76516486c
* Add more documentationMonty Taylor2013-07-211-0/+5
| | | | | | | | Moved a good portion of README into the sphinx docs. Also started fleshing out descriptions of how to use things. Also, fix the sphinx config. Change-Id: If53dcdaea0a48ef613e3097ab55d34f056160188
* Clean up hacking and path issues with d2to1Monty Taylor2013-07-111-0/+5
| | | | | | | We imported in another code base. It takes a little bit of path adjusting to get things right. Change-Id: Ifb96652c822d5d243a6bedb77bc34e919be2d3a8
* Align Sphinx autodoc options with oslo.Monty Taylor2013-04-061-1/+1
| | | | | | | | | | | The Sphinx autodoc changes also went into olso a little differently. Change-Id: If1f337db693053f2627c0c426a51bc13128033a7 Reviewed-on: https://review.openstack.org/25676 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
* Add support for configuring pbr sphinx options.Monty Taylor2013-03-271-0/+3
| | | | Change-Id: Idfdd1c8850433bf3ea2439f939756f5c60bb88a1
* Update documentation for release.0.5.0Monty Taylor2013-03-171-1/+1
| | | | Change-Id: I215bfa00a836c7fafb535b78e6fef89c81e28817
* Rename back to PBR.Monty Taylor2013-03-171-6/+4
| | | | Change-Id: I13ee7fab7858231b0fa17f9116176a09184e8b0e
* Just use d2to1 via hooks mechanism.Monty Taylor2013-03-111-5/+3
| | | | | | It turns out we can just have only our code and use d2to1 directly. Change-Id: I4700ad51bf4377797ede55d3cf5ec09f424874ed
* Remove version that had been used for testing.Monty Taylor2013-03-101-1/+0
| | | | Change-Id: I1ff919b9629c08893ca3df3c38a5afaf21155657
* Fix things up to work with nova.Monty Taylor2013-03-101-1/+1
| | | | | Add extern/six back - turns out setup_requires isn't transitive. Make sure .gitignore is right.
* Split out oslo.packaging.Monty Taylor2013-03-101-0/+30
Include logic taken from d2to1 to allow us to inject into setup.py. Combined with ols openstack/common/setup.py code. Change-Id: I27b341403bb8245e38f8e3c386f1a835b90b1843