Skip to content

Commit

Permalink
optimizing deployment to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
parashardhapola committed Jul 9, 2021
1 parent 13f071e commit caa1336
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
16 changes: 16 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
recursive-exclude * __pycache__
recursive-exclude * *.pyc
recursive-exclude * *.pyo
exclude .gitignore
exclude .gitattribute
exclude .readthedocs.yml
exclude Dockerfile
exclude push_pypi.sh
prune scarf_toolkit.egg-info
prune docs
prune scarf/tests
prune .circleci
prune .github
include requirements.txt
include VERSION
graft bin
6 changes: 0 additions & 6 deletions MANIFEST.ini

This file was deleted.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.3
0.8.4
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build.system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
minversion = "6.0"
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ def run(self):
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
'Operating System :: POSIX :: Linux',
"Programming Language :: Python :: 3",
'Programming Language :: Python :: 3.7',
]
keywords = ['store']
version = open('VERSION').readline().rstrip('\n')
Expand All @@ -56,7 +54,7 @@ def run(self):
install_requires=install_requires,
dependency_links=dependency_links,
version=version,
packages=find_packages(exclude=['data']),
packages=find_packages(),
include_package_data=False,
cmdclass={'install': PostInstallCommand}
)

0 comments on commit caa1336

Please sign in to comment.