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
50cd15ae
Commit
50cd15ae
authored
Aug 10, 2014
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include setup_requires directive in Distribution attributes and metadata. Fixes #239.
parent
f1861733
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
CHANGES.txt
CHANGES.txt
+8
-0
setup.py
setup.py
+1
-0
setuptools/dist.py
setuptools/dist.py
+1
-1
No files found.
CHANGES.txt
View file @
50cd15ae
...
...
@@ -2,6 +2,14 @@
CHANGES
=======
---
5.5
---
* Issue #239: Setuptools now includes the setup_requires directive on
Distribution objects and validates the syntax just like install_requires
and tests_require directives.
-----
5.4.2
-----
...
...
setup.py
View file @
50cd15ae
...
...
@@ -144,6 +144,7 @@ setup_params = dict(
"extras_require = setuptools.dist:check_extras"
,
"install_requires = setuptools.dist:check_requirements"
,
"tests_require = setuptools.dist:check_requirements"
,
"setup_reqires = setuptools.dist:check_requirements"
,
"entry_points = setuptools.dist:check_entry_points"
,
"test_suite = setuptools.dist:check_test_suite"
,
"zip_safe = setuptools.dist:assert_bool"
,
...
...
setuptools/dist.py
View file @
50cd15ae
...
...
@@ -259,7 +259,7 @@ class Distribution(_Distribution):
self.dependency_links = attrs.pop('
dependency_links
', [])
assert_string_list(self,'
dependency_links
',self.dependency_links)
if attrs and '
setup_requires
' in attrs:
self.fetch_build_eggs(attrs
.pop('
setup_requires
')
)
self.fetch_build_eggs(attrs
['
setup_requires
']
)
for ep in pkg_resources.iter_entry_points('
distutils
.
setup_keywords
'):
if not hasattr(self,ep.name):
setattr(self,ep.name,None)
...
...
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