Skip to content

Commit

Permalink
Fix bad configuration for packaging
Browse files Browse the repository at this point in the history
The `tests` directory was installed as package.
Some files were also included/excluded due to wrong configuration of `MANIFEST.in`.
  • Loading branch information
krakozaure committed Jan 20, 2019
1 parent 361ca52 commit bfc834a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
include .travis.yml
graft pyzzy
graft tests

global-exclude __pycache__
global-exclude *.pyc

include changelog.md
include LICENSE
include MANIFEST.in
Expand All @@ -7,7 +12,3 @@ include README.md
include requirements.txt
include tests-requirements.txt
include tox.ini

recursive-include tests *.py
recursive-include tests/configurations *.json
recursive-include tests/logs *.txt
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/krakozaure/pyzzy",
packages=setuptools.find_packages(),
packages=setuptools.find_packages(exclude=["tests"]),
install_requires=["colorama", "ruamel.yaml", "toml"],
tests_require=["pytest", "tox"],
classifiers=[
Expand Down

0 comments on commit bfc834a

Please sign in to comment.