Skip to content

Commit

Permalink
Add license file, tests and other information to distribution
Browse files Browse the repository at this point in the history
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 .`
  • Loading branch information
mfripp committed Jun 20, 2019
1 parent 3f36905 commit 4757018
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def read(*rnames):
maintainer='Switch Authors',
maintainer_email='[email protected]',
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'),
Expand Down

0 comments on commit 4757018

Please sign in to comment.