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
bd3d57df
Commit
bd3d57df
authored
Jul 29, 2020
by
alvy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: give python requirement a dedicated section
parent
3268c199
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
docs/userguide/dependency_management.txt
docs/userguide/dependency_management.txt
+9
-8
No files found.
docs/userguide/dependency_management.txt
View file @
bd3d57df
...
@@ -40,14 +40,6 @@ other two types of dependency keyword, this one is specified in your
...
@@ -40,14 +40,6 @@ other two types of dependency keyword, this one is specified in your
deprecated practice (WIP)`
deprecated practice (WIP)`
Python requirement
------------------
In some cases, you might need to specify the minimum required python version.
This is handled with the ``python_requires`` keyword supplied to ``setup.cfg``
or ``setup.py``.
Example WIP
Declaring required dependency
Declaring required dependency
=============================
=============================
...
@@ -313,3 +305,12 @@ not need to change, but the right packages will still be installed if needed.
...
@@ -313,3 +305,12 @@ not need to change, but the right packages will still be installed if needed.
support a feature, it should keep an empty requirements list for that feature
support a feature, it should keep an empty requirements list for that feature
in its ``extras_require`` argument, so that packages depending on that feature
in its ``extras_require`` argument, so that packages depending on that feature
don't break (due to an invalid feature name).
don't break (due to an invalid feature name).
Python requirement
==================
In some cases, you might need to specify the minimum required python version.
This is handled with the ``python_requires`` keyword supplied to ``setup.cfg``
or ``setup.py``.
Example WIP
\ No newline at end of file
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