Clean up for publication

This commit is contained in:
Tony Garnock-Jones 2019-06-23 13:15:36 +01:00
parent 0ec0d68b62
commit 24590b17ad
3 changed files with 9 additions and 7 deletions

View File

@ -1,16 +1,17 @@
test:
@echo no tests yet, lol
all:
clean:
rm -rf htmlcov
find . -iname __pycache__ -o -iname '*.pyc' | xargs rm -rf
rm -f .coverage
rm -rf preserves.egg-info build dist
rm -rf *.egg-info build dist
# sudo apt install python3-wheel twine
publish: clean
python3 setup.py sdist bdist_wheel
publish: build
twine upload dist/*
build: clean
python3 setup.py sdist bdist_wheel
veryclean: clean
rm -rf pyenv

View File

@ -1 +1,2 @@
websockets
preserves

View File

@ -5,7 +5,7 @@ except ImportError:
setup(
name="mini-syndicate",
version="0.0.0",
version="0.0.1",
author="Tony Garnock-Jones",
author_email="tonyg@leastfixedpoint.com",
license="GNU General Public License v3 or later (GPLv3+)",
@ -16,7 +16,7 @@ setup(
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
],
packages=["syndicate"],
packages=["syndicate", "syndicate.mini"],
url="https://github.com/syndicate-lang/mini-syndicate-py",
description="Syndicate-like library for integrating Python with the Syndicate ecosystem",
install_requires=['websockets', 'preserves'],