diff --git a/MANIFEST.in b/MANIFEST.in index 234a1b2..326fad1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ -include README.md +include README.rst +include LICENSE include bin/lirconian include api_example.py diff --git a/Makefile b/Makefile index 523e99e..9e7903f 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ PIP=pip3.5 PACKAGE=lirconian VERSION=$(shell bin/$(PACKAGE) --version) -all: style +all: sdist bdist style: pep8 pylint @@ -24,10 +24,15 @@ uninstall: sdist: dist/$(PACKAGE)-$(VERSION).tar.gz +bdist: dist/$(PACKAGE)-$(VERSION)-py2.py3-none-any.whl + dist/$(PACKAGE)-$(VERSION).tar.gz: setup.py $(PYTHON) setup.py sdist +dist/$(PACKAGE)-$(VERSION)-py2.py3-none-any.whl: + $(PYTHON) setup.py bdist_wheel + clean: - rm -rf dist __pycache__ $(PACKAGE).egg-info + rm -rf dist build __pycache__ $(PACKAGE).egg-info .PHONY: pep8 pylint clean diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..79bc678 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,5 @@ +[bdist_wheel] +# This flag says that the code is written to work on both Python 2 and Python +# 3. If at all possible, it is good practice to do this. If you cannot, you +# will need to generate wheels for each Python version that you support. +universal=1 diff --git a/setup.py b/setup.py index 17e4257..35b8d47 100644 --- a/setup.py +++ b/setup.py @@ -15,9 +15,9 @@ license = "GPLv2+", packages = ['lirconian'], # scripts=['bin/lirconian'], - include_package_data = True, entry_points = {'console_scripts': ['lirconian=lirconian:main']}, classifiers = [ + 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Development Status :: 4 - Beta', 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',