diff --git a/.gitignore b/.gitignore index a5313c1..0fde0b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ .pyc __pycache__ + spinach.egg-info .cache +dist +build doc/_build -.coverage \ No newline at end of file + +.coverage diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..232057b --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +publish: + pip install -U pip setuptools wheel twine + python setup.py sdist + python setup.py bdist_wheel + twine upload dist/* + rm -fr build dist spinach.egg-info + +clean: + rm -fr build dist spinach.egg-info + diff --git a/README.rst b/README.rst index 2f9c466..d32f444 100644 --- a/README.rst +++ b/README.rst @@ -66,3 +66,4 @@ License ------- BSD 2-clause + diff --git a/setup.py b/setup.py index 1e69b5f..f5bb7f2 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,9 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() +with open(path.join(here, 'LICENSE'), encoding='utf-8') as f: + long_description += f.read() + with open(path.join(here, 'spinach', 'const.py'), encoding='utf-8') as fp: version = dict() exec(fp.read(), version)