Skip to content

Commit

Permalink
Reduced package size
Browse files Browse the repository at this point in the history
Greatly reduced package size by removing the following directories from pypi release: examples, example_data, tests
  • Loading branch information
alenrajsp committed Jan 14, 2023
1 parent 641e8ce commit b9826a2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
recursive-include tcxreader *
recursive-include example_data *
recursive-include examples *
recursive-exclude example_data *
recursive-exclude examples *
recursive-exclude tests *
recursive-exclude tcxreader.tests *
prune */tests
include LICENSE
Empty file added example_data/__init__.py
Empty file.
Empty file added examples/__init__.py
Empty file.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@

setuptools.setup(
name="tcxreader",
version="0.4.3",
version="0.4.4",
author="Alen Rajšp",
author_email="[email protected]",
description="tcxreader is a reader for Garmin’s TCX file format. It also works well with missing data!",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/alenrajsp/tcxreader",
packages=setuptools.find_packages(exclude=['*tests*']),
packages=setuptools.find_packages(exclude=("*.tests", "*.tests.*", "tests.*", "tests", '*tests*',
"*tcxreader.tests", "*.tcxreader.tests.*", "tcxreader.tests.*",
"tcxreader.tests", '*tcxreader.tests*',
"*.examples","*.examples.*", "examples.*", "examples",
"*.example_data", "*.example_data.*", "example_data.*", "example_data")),
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit b9826a2

Please sign in to comment.