-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed setup process to be more streamlined and self-contained. Update…
…d MANIFEST.in. Re-enabled doctests for Travis CI.
- Loading branch information
Showing
7 changed files
with
44 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
*.pyc | ||
*.pyo | ||
*.egg | ||
*.egg-info | ||
.tox/ | ||
*.egg-info/ | ||
|
||
.coverage | ||
|
||
.cache/ | ||
build/ | ||
dist/ | ||
venv/ | ||
*venv/ | ||
doc/_build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
recursive-include spans *.py | ||
recursive-include tests *.py | ||
include Makefile README.rst LICENSE | ||
|
||
include MANIFEST.in LICENSE README.rst Makefile setup.py setup.cfg doc/*.rst | ||
graft doc | ||
graft tests | ||
|
||
global-exclude *.py[co] | ||
|
||
prune doc/_build | ||
prune doc/_themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,36 @@ | ||
build: test doc sdist wheel | ||
|
||
clean: clean-pyc clean-build | ||
rm -rf .cache/ | ||
rm .coverage | ||
|
||
clean-build: | ||
rm -rf build/ | ||
rm -rf *.egg-info/ | ||
make -C doc/ clean | ||
|
||
clean-pyc: | ||
find . -name '*.pyc' -exec rm -f {} + | ||
find . -name '*.pyo' -exec rm -f {} + | ||
find . -type d -name '__pycache__' -exec rm -rf {} + | ||
find . -type d -name '__pycache__' -exec rmdir {} + | ||
|
||
doc: | ||
make -C doc/ html | ||
|
||
test: | ||
make -C doc doctest | ||
tox | ||
make -C doc/ doctest | ||
pytest | ||
|
||
sdist: | ||
python setup.py sdist | ||
rm -rf *.egg-info | ||
|
||
wheel: | ||
python setup.py bdist_wheel | ||
|
||
preview-readme: | ||
python -c 'import setup; print(setup.long_desc)' > README.preview.rst | ||
retext README.preview.rst | ||
rm README.preview.rst | ||
|
||
.PHONY : clean-pyc doc test sdist preview-readme | ||
|
||
.PHONY : build clean clean-build clean-pyc doc test sdist wheel preview-readme upload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--index-url https://pypi.python.org/simple/ | ||
-e . | ||
-e .[dev] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.