From 4757018811df95dbb29a159c11d0c14819d03a0a Mon Sep 17 00:00:00 2001 From: Matthias Fripp Date: Thu, 20 Jun 2019 11:24:36 -1000 Subject: [PATCH] Add license file, tests and other information to distribution We are required to distribute a copy of the license file with the code. Including license and tests here also makes it easier to include and use them in conda-forge. These extra files also enable users to download the source code and examples to an editable location without using git. Then they can finish installation via `pip install --editable .` --- MANIFEST.in | 10 ++++++++++ setup.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 000000000..f1dc79032 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,10 @@ +recursive-include tests * +recursive-include examples * +include README +include LICENSE +include AUTHORS +include CHANGELOG.txt +include INSTALL +include DEV_INSTALL.txt +include how_to_collaborate.txt +include run_tests.py diff --git a/setup.py b/setup.py index e9f76fc09..625bafe85 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ def read(*rnames): maintainer='Switch Authors', maintainer_email='authors@switch-model.org', url='http://switch-model.org', - license='Apache v2', + license='Apache License 2.0', platforms=["any"], description='Switch Power System Planning Model', long_description=read('README'),