Skip to content

Commit

Permalink
Merge pull request #386 from melexis/clean-distro
Browse files Browse the repository at this point in the history
Exclude unneeded files from package
  • Loading branch information
Letme authored Sep 10, 2024
2 parents 5caa1e4 + 45291cf commit 3b7aede
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 22 deletions.
35 changes: 14 additions & 21 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,23 @@ include *.md
# Include the assets - javascript
include mlx/traceability/assets/traceability.js
exclude mlx/traceability/assets/traceability-*.min.js


exclude mlx/traceability/__traceability_version__.py
exclude .pylintrc

# added by check_manifest.py
include *.md
include LICENSE.txt
include NOTICE
include tox.ini
include tools/doc-warnings.json
include doc/.env.example
recursive-include doc *.bat
recursive-include doc *.py
recursive-include doc *.rst
recursive-include doc *.css
recursive-include doc Makefile
recursive-include tests *.py
recursive-include tests *.rst
recursive-include tests *.txt

# added by check_manifest.py
include .coveragerc
exclude .codeclimate.yml
exclude .coveragerc
exclude .gitignore
exclude .pylintrc
exclude codecov.yml
exclude requirements.txt
exclude tox.ini
exclude tools/doc-warnings.json

# added by check_manifest.py
include *.txt
recursive-exclude .github *
recursive-exclude build *
recursive-exclude doc *
recursive-exclude tests *

recursive-exclude doc/_build *
global-exclude *.py[co]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
'Topic :: Utilities',
],
platforms='any',
packages=find_namespace_packages(where="."),
packages=find_namespace_packages(where=".", exclude=("doc.*", "doc", "tests.*", "tests", "build*")),
package_dir={"": "."},
include_package_data=True,
install_requires=requires,
Expand Down

0 comments on commit 3b7aede

Please sign in to comment.