Commit e6087bfa authored by Jason R. Coombs's avatar Jason R. Coombs

Merge branch 'master' into feature/581-depend-not-bundle

parents 767dcea0 3c182f9f
...@@ -97,7 +97,7 @@ v30.3.0 ...@@ -97,7 +97,7 @@ v30.3.0
* #394 via #862: Added support for `declarative package * #394 via #862: Added support for `declarative package
config in a setup.cfg file config in a setup.cfg file
<http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files>`_. <https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files>`_.
v30.2.1 v30.2.1
------- -------
...@@ -708,7 +708,7 @@ v20.6.0 ...@@ -708,7 +708,7 @@ v20.6.0
`semver <https://semver.org>`_ precisely. `semver <https://semver.org>`_ precisely.
The 'v' prefix on version numbers now also allows The 'v' prefix on version numbers now also allows
version numbers to be referenced in the changelog, version numbers to be referenced in the changelog,
e.g. https://pythonhosted.org/setuptools/history.html#v20-6-0. e.g. http://setuptools.readthedocs.io/en/latest/history.html#v20-6-0.
20.5 20.5
---- ----
...@@ -788,7 +788,7 @@ v20.6.0 ...@@ -788,7 +788,7 @@ v20.6.0
* Added support for using passwords from keyring in the upload * Added support for using passwords from keyring in the upload
command. See `the upload docs command. See `the upload docs
<http://pythonhosted.org/setuptools/setuptools.html#upload-upload-source-and-or-egg-distributions-to-pypi>`_ <https://setuptools.readthedocs.io/en/latest/setuptools.html#upload-upload-source-and-or-egg-distributions-to-pypi>`_
for details. for details.
20.0 20.0
...@@ -1542,7 +1542,7 @@ process to fail and PyPI uploads no longer accept files for 13.0. ...@@ -1542,7 +1542,7 @@ process to fail and PyPI uploads no longer accept files for 13.0.
--- ---
* Added a `Developer Guide * Added a `Developer Guide
<https://pythonhosted.org/setuptools/developer-guide.html>`_ to the official <https://setuptools.readthedocs.io/en/latest/developer-guide.html>`_ to the official
documentation. documentation.
* Some code refactoring and cleanup was done with no intended behavioral * Some code refactoring and cleanup was done with no intended behavioral
changes. changes.
...@@ -2962,7 +2962,7 @@ easy_install ...@@ -2962,7 +2962,7 @@ easy_install
* ``setuptools`` now finds its commands, ``setup()`` argument validators, and * ``setuptools`` now finds its commands, ``setup()`` argument validators, and
metadata writers using entry points, so that they can be extended by metadata writers using entry points, so that they can be extended by
third-party packages. See `Creating distutils Extensions third-party packages. See `Creating distutils Extensions
<http://pythonhosted.org/setuptools/setuptools.html#creating-distutils-extensions>`_ <https://setuptools.readthedocs.io/en/latest/setuptools.html#creating-distutils-extensions>`_
for more details. for more details.
* The vestigial ``depends`` command has been removed. It was never finished * The vestigial ``depends`` command has been removed. It was never finished
......
...@@ -11,3 +11,4 @@ include LICENSE ...@@ -11,3 +11,4 @@ include LICENSE
include launcher.c include launcher.c
include msvc-build-launcher.cmd include msvc-build-launcher.cmd
include pytest.ini include pytest.ini
include tox.ini
...@@ -126,8 +126,8 @@ Use ``--help`` to get a full options list, but we recommend consulting ...@@ -126,8 +126,8 @@ Use ``--help`` to get a full options list, but we recommend consulting
the `EasyInstall manual`_ for detailed instructions, especially `the section the `EasyInstall manual`_ for detailed instructions, especially `the section
on custom installation locations`_. on custom installation locations`_.
.. _EasyInstall manual: https://pythonhosted.org/setuptools/EasyInstall .. _EasyInstall manual: https://setuptools.readthedocs.io/en/latest/easy_install.html
.. _the section on custom installation locations: https://pythonhosted.org/setuptools/EasyInstall#custom-installation-locations .. _the section on custom installation locations: https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations
Downloads Downloads
......
This diff is collapsed.
...@@ -8,11 +8,10 @@ tag_build = .post ...@@ -8,11 +8,10 @@ tag_build = .post
tag_date = 1 tag_date = 1
[aliases] [aliases]
clean_egg_info = egg_info -RDb '' clean_egg_info = egg_info -Db ''
release = clean_egg_info sdist bdist_wheel release = clean_egg_info sdist bdist_wheel
source = register sdist binary source = register sdist binary
binary = bdist_egg upload --show-response binary = bdist_egg upload --show-response
test = pytest
[upload] [upload]
repository = https://upload.pypi.org/legacy/ repository = https://upload.pypi.org/legacy/
......
...@@ -121,18 +121,13 @@ class egg_info(Command): ...@@ -121,18 +121,13 @@ class egg_info(Command):
user_options = [ user_options = [
('egg-base=', 'e', "directory containing .egg-info directories" ('egg-base=', 'e', "directory containing .egg-info directories"
" (default: top of the source tree)"), " (default: top of the source tree)"),
('tag-svn-revision', 'r',
"Add subversion revision ID to version number"),
('tag-date', 'd', "Add date stamp (e.g. 20050528) to version number"), ('tag-date', 'd', "Add date stamp (e.g. 20050528) to version number"),
('tag-build=', 'b', "Specify explicit tag to add to version number"), ('tag-build=', 'b', "Specify explicit tag to add to version number"),
('no-svn-revision', 'R',
"Don't add subversion revision ID [default]"),
('no-date', 'D', "Don't include date stamp [default]"), ('no-date', 'D', "Don't include date stamp [default]"),
] ]
boolean_options = ['tag-date', 'tag-svn-revision'] boolean_options = ['tag-date']
negative_opt = { negative_opt = {
'no-svn-revision': 'tag-svn-revision',
'no-date': 'tag-date', 'no-date': 'tag-date',
} }
...@@ -146,10 +141,22 @@ class egg_info(Command): ...@@ -146,10 +141,22 @@ class egg_info(Command):
self.broken_egg_info = False self.broken_egg_info = False
self.vtags = None self.vtags = None
####################################
# allow the 'tag_svn_revision' to be detected and
# set, supporting sdists built on older Setuptools.
@property
def tag_svn_revision(self):
pass
@tag_svn_revision.setter
def tag_svn_revision(self, value):
pass
####################################
def save_version_info(self, filename): def save_version_info(self, filename):
""" """
Materialize the values of svn_revision and date into the Materialize the value of date into the
build tag. Install these keys in a deterministic order build tag. Install build keys in a deterministic order
to avoid arbitrary reordering on subsequent builds. to avoid arbitrary reordering on subsequent builds.
""" """
# python 2.6 compatibility # python 2.6 compatibility
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment