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
dabd7313
Commit
dabd7313
authored
Jan 19, 2020
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/pypa/setuptools
parents
5ce9e5f3
e44bf410
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
19 deletions
+13
-19
.github/workflows/python-tests.yml
.github/workflows/python-tests.yml
+0
-4
.travis.yml
.travis.yml
+0
-2
appveyor.yml
appveyor.yml
+0
-1
docs/conf.py
docs/conf.py
+1
-1
docs/developer-guide.txt
docs/developer-guide.txt
+2
-6
tools/tox_pip.py
tools/tox_pip.py
+9
-2
tox.ini
tox.ini
+1
-3
No files found.
.github/workflows/python-tests.yml
View file @
dabd7313
...
...
@@ -51,10 +51,6 @@ jobs:
env
env
:
${{ matrix.env }}
-
name
:
Update egg_info based on setup.py in checkout
run
:
>-
python -m bootstrap
env
:
${{ matrix.env }}
-
name
:
Verify that there's no cached Python modules in sources
if
:
>-
! startsWith(matrix.os, 'windows-')
...
...
.travis.yml
View file @
dabd7313
...
...
@@ -40,8 +40,6 @@ install:
-
pip freeze --all
-
env
# update egg_info based on setup.py in checkout
-
python bootstrap.py
-
"
!
grep
pyc
setuptools.egg-info/SOURCES.txt"
script
:
...
...
appveyor.yml
View file @
dabd7313
...
...
@@ -28,7 +28,6 @@ test_script:
-
python -m pip install --disable-pip-version-check --upgrade pip setuptools wheel
-
pip install --upgrade tox tox-venv virtualenv
-
pip freeze --all
-
python bootstrap.py
-
tox -- --cov
after_test
:
...
...
docs/conf.py
View file @
dabd7313
...
...
@@ -6,7 +6,7 @@ import os
# hack to run the bootstrap script so that jaraco.packaging.sphinx
# can invoke setup.py
'READTHEDOCS'
in
os
.
environ
and
subprocess
.
check_call
(
[
sys
.
executable
,
'
bootstrap.py
'
],
[
sys
.
executable
,
'
-m'
,
'bootstrap
'
],
cwd
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
os
.
path
.
pardir
),
)
...
...
docs/developer-guide.txt
View file @
dabd7313
...
...
@@ -104,12 +104,8 @@ from the command line after pushing a new branch.
Testing
-------
The primary tests are run using tox. To run the tests, first create the metadata
needed to run the tests::
$ python bootstrap.py
Then make sure you have tox installed, and invoke it::
The primary tests are run using tox. Make sure you have tox installed,
and invoke it::
$ tox
...
...
tools/tox_pip.py
View file @
dabd7313
...
...
@@ -14,13 +14,20 @@ def remove_setuptools():
subprocess
.
check_call
(
cmd
,
cwd
=
'.tox'
)
def
bootstrap
():
print
(
"Running bootstrap"
)
cmd
=
[
sys
.
executable
,
'-m'
,
'bootstrap'
]
subprocess
.
check_call
(
cmd
)
def
pip
(
args
):
# Honor requires-python when installing test suite dependencies
if
any
(
'-r'
in
arg
for
arg
in
args
):
os
.
environ
[
'PIP_IGNORE_REQUIRES_PYTHON'
]
=
'0'
# When installing '.', remove setuptools
'.'
in
args
and
remove_setuptools
()
if
'.'
in
args
:
remove_setuptools
()
bootstrap
()
cmd
=
[
sys
.
executable
,
'-m'
,
'pip'
]
+
args
subprocess
.
check_call
(
cmd
)
...
...
tox.ini
View file @
dabd7313
# Note: Run "python bootstrap.py" before running Tox, to generate metadata.
#
# To run Tox against all supported Python interpreters, you can set:
#
# export TOXENV='py3{5,6,7,8},pypy,pypy3'
...
...
@@ -49,7 +47,7 @@ commands=codecov -X gcov --file {toxworkdir}/coverage.xml
deps
=
-r{toxinidir}/docs/requirements.txt
skip_install
=
True
commands
=
python
{toxinidir}/bootstrap.py
python
-m
bootstrap
sphinx-build
-W
-b
html
-d
{envtmpdir}/doctrees
docs
docs/build/html
sphinx-build
-W
-b
man
-d
{envtmpdir}/doctrees
docs
docs/build/man
...
...
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