Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
e6087bfa
Commit
e6087bfa
authored
Jan 13, 2017
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feature/581-depend-not-bundle
parents
767dcea0
3c182f9f
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
65 additions
and
182 deletions
+65
-182
CHANGES.rst
CHANGES.rst
+5
-5
MANIFEST.in
MANIFEST.in
+1
-0
README.rst
README.rst
+2
-2
docs/setuptools.txt
docs/setuptools.txt
+41
-165
setup.cfg
setup.cfg
+1
-2
setuptools/command/egg_info.py
setuptools/command/egg_info.py
+15
-8
No files found.
CHANGES.rst
View file @
e6087bfa
...
...
@@ -97,7 +97,7 @@ v30.3.0
* #394 via #862: Added support for `declarative package
config in a setup.cfg file
<http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files>`_.
<http
s
://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files>`_.
v30.2.1
-------
...
...
@@ -708,7 +708,7 @@ v20.6.0
`
semver
<
https
://
semver
.
org
>`
_
precisely
.
The
'v'
prefix
on
version
numbers
now
also
allows
version
numbers
to
be
referenced
in
the
changelog
,
e
.
g
.
http
s
://
pythonhosted
.
org
/
setuptools
/
history
.
html
#
v20
-
6
-
0.
e
.
g
.
http
://
setuptools
.
readthedocs
.
io
/
en
/
latest
/
history
.
html
#
v20
-
6
-
0.
20.5
----
...
...
@@ -788,7 +788,7 @@ v20.6.0
* Added support for using passwords from keyring in the upload
command. See `the upload docs
<http
://pythonhosted.org/setuptools
/setuptools.html#upload-upload-source-and-or-egg-distributions-to-pypi>`_
<http
s://setuptools.readthedocs.io/en/latest
/setuptools.html#upload-upload-source-and-or-egg-distributions-to-pypi>`_
for details.
20.0
...
...
@@ -1542,7 +1542,7 @@ process to fail and PyPI uploads no longer accept files for 13.0.
---
*
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
.
*
Some
code
refactoring
and
cleanup
was
done
with
no
intended
behavioral
changes
.
...
...
@@ -2962,7 +2962,7 @@ easy_install
*
``
setuptools
``
now
finds
its
commands
,
``
setup
()``
argument
validators
,
and
metadata
writers
using
entry
points
,
so
that
they
can
be
extended
by
third
-
party
packages
.
See
`
Creating
distutils
Extensions
<
http
://
pythonhosted
.
org
/
setuptools
/
setuptools
.
html
#
creating
-
distutils
-
extensions
>`
_
<
http
s
://
setuptools
.
readthedocs
.
io
/
en
/
latest
/
setuptools
.
html
#
creating
-
distutils
-
extensions
>`
_
for
more
details
.
*
The
vestigial
``
depends
``
command
has
been
removed
.
It
was
never
finished
...
...
MANIFEST.in
View file @
e6087bfa
...
...
@@ -11,3 +11,4 @@ include LICENSE
include launcher.c
include msvc-build-launcher.cmd
include pytest.ini
include tox.ini
README.rst
View file @
e6087bfa
...
...
@@ -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
on custom installation locations`_.
.. _EasyInstall manual: https://
pythonhosted.org/setuptools/EasyInstal
l
.. _the section on custom installation locations: https://
pythonhosted.org/setuptools/EasyInstal
l#custom-installation-locations
.. _EasyInstall manual: https://
setuptools.readthedocs.io/en/latest/easy_install.htm
l
.. _the section on custom installation locations: https://
setuptools.readthedocs.io/en/latest/easy_install.htm
l#custom-installation-locations
Downloads
...
...
docs/setuptools.txt
View file @
e6087bfa
This diff is collapsed.
Click to expand it.
setup.cfg
View file @
e6087bfa
...
...
@@ -8,11 +8,10 @@ tag_build = .post
tag_date = 1
[aliases]
clean_egg_info = egg_info -
R
Db ''
clean_egg_info = egg_info -Db ''
release = clean_egg_info sdist bdist_wheel
source = register sdist binary
binary = bdist_egg upload --show-response
test = pytest
[upload]
repository = https://upload.pypi.org/legacy/
...
...
setuptools/command/egg_info.py
View file @
e6087bfa
...
...
@@ -121,18 +121,13 @@ class egg_info(Command):
user_options = [
('egg-base=', 'e', "
directory
containing
.
egg
-
info
directories
"
"
(
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-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]"),
]
boolean_options = ['tag-date'
, 'tag-svn-revision'
]
boolean_options = ['
tag
-
date
']
negative_opt = {
'no-svn-revision': 'tag-svn-revision',
'
no
-
date
': '
tag
-
date
',
}
...
...
@@ -146,10 +141,22 @@ class egg_info(Command):
self.broken_egg_info = False
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):
"""
Materialize the value
s of svn_revision and
date into the
build tag. Install
these
keys in a deterministic order
Materialize the value
of
date into the
build tag. Install
build
keys in a deterministic order
to avoid arbitrary reordering on subsequent builds.
"""
# python 2.6 compatibility
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment