Skip to content

Commit 472c15b

Browse files
committed
fix packaging
now just run make to make the tar.gz
1 parent 2d8a98e commit 472c15b

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

MANIFEST.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
include README.md
2-
2+
prune data*
3+
prune tests*
4+
exclude publish_to_pypi.md
5+
exclude README.md
6+
exclude MANIFEST.in
7+
exclude Makefile

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.PHONY: clean all setup
22

3-
all: setup clean
3+
all: clean
44
python3 setup.py sdist bdist_wheel
55

66
setup: requirements.txt
77
pip install -r requirements.txt
88

99
clean:
10-
rm -rf __pycache__ build .egg-info
10+
rm -rf __pycache__ build *.egg-info .pytest_cache
1111

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
long_description = long_description,
1313
long_description_content_type = "text/markdown",
1414
url = "https://github.com/slowkow/harmonypy",
15-
packages = setuptools.find_packages(),
1615
classifiers=[
1716
"Development Status :: 3 - Alpha",
1817
"Intended Audience :: Science/Research",
@@ -24,6 +23,6 @@
2423
],
2524
python_requires='>=3.6',
2625
install_requires=['pandas','numpy','scipy', 'scikit-learn'],
26+
packages=setuptools.find_packages(),
2727
include_package_data=True,
28-
exclude_package_data={"": ["data"]},
2928
)

0 commit comments

Comments
 (0)