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
12e8b4c7
Commit
12e8b4c7
authored
Jun 03, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No longer build docs using 'build_sphinx' command and instead rely on RTD. Ref #604.
parent
a99a2b3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
setup.cfg
setup.cfg
+1
-10
setup.py
setup.py
+1
-3
No files found.
setup.cfg
View file @
12e8b4c7
...
...
@@ -9,23 +9,14 @@ tag_date = 1
[aliases]
clean_egg_info = egg_info -RDb ''
release = clean_egg_info sdist bdist_wheel
build_sphinx
release = clean_egg_info sdist bdist_wheel
source = register sdist binary
binary = bdist_egg upload --show-response
test = pytest
[build_sphinx]
source-dir = docs/
build-dir = docs/build
all_files = 1
[upload]
repository = https://upload.pypi.io/legacy/
[upload_docs]
upload-dir = docs/build/html
repository = https://pypi.python.org/pypi
[sdist]
formats = gztar zip
...
...
setup.py
View file @
12e8b4c7
...
...
@@ -61,8 +61,6 @@ if (sys.platform == 'win32' or (os.name == 'java' and os._name == 'nt')) \
needs_pytest
=
set
([
'ptr'
,
'pytest'
,
'test'
]).
intersection
(
sys
.
argv
)
pytest_runner
=
[
'pytest-runner'
]
if
needs_pytest
else
[]
needs_sphinx
=
set
([
'build_sphinx'
,
'upload_docs'
,
'release'
]).
intersection
(
sys
.
argv
)
sphinx
=
[
'sphinx'
,
'rst.linker>=1.5'
]
if
needs_sphinx
else
[]
needs_wheel
=
set
([
'release'
,
'bdist_wheel'
]).
intersection
(
sys
.
argv
)
wheel
=
[
'wheel'
]
if
needs_wheel
else
[]
...
...
@@ -158,7 +156,7 @@ setup_params = dict(
'pytest>=2.8'
,
]
+
([
'mock'
]
if
sys
.
version_info
[:
2
]
<
(
3
,
3
)
else
[]),
setup_requires
=
[
]
+
sphinx
+
pytest_runner
+
wheel
,
]
+
pytest_runner
+
wheel
,
)
if
__name__
==
'__main__'
:
...
...
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