Skip to content

Commit

Permalink
Hard-code license= field as just name, not whole license
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Jun 28, 2019
1 parent 5e051b5 commit eff36ea
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@
electrodeposition process.
"""

try:
FILE = open("LICENSE.rst", "r")
LICENSE = "\n" + "".join([" " * 8 + l for l in FILE])
FILE.close()
except IOError as _:
LICENSE = ""

VERSION = versioneer.get_version()

DIST = setup(
Expand All @@ -56,7 +49,7 @@
author="Jonathan Guyer, Daniel Wheeler, & Jim Warren",
author_email="fipy@nist.gov",
url="http://www.ctcms.nist.gov/fipy/",
license=LICENSE,
license="NIST Public Domain",
description="A finite volume PDE solver in Python",
long_description=LONG_DESCRIPTION,
cmdclass=dict(
Expand Down

0 comments on commit eff36ea

Please sign in to comment.