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

View File

@ -1 +1,2 @@
websockets websockets
preserves

View File

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