-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
32 lines (28 loc) · 877 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import sys, os
#from distutils.core import setup
from setuptools import setup
from itertools import product
sys.path.append("."+os.sep+os.sep+"swmm5ea")
import swmm_ea_controller as sc
with open("README.txt","r") as f:
README=f.read()
cwd=os.path.join(os.getcwd(),"swmm5ea")
package_data=[x[len(cwd)+1:] for x in sc.LIST_OF_FILE_GLOBS ]
#package_data.append("*.pyw")
LONGDISC="""%(rm)s\n""" % { "rm": README}
setup(
name = sc.NAME,
packages = ["swmm5ea"],
package_data={'swmm5ea': package_data},
version = sc.VERSION,
description = sc.DESCRIPTION,
author = sc.AUTHOR,
license=sc.LICENSE,
#publisher=sc.PUBLISHER,
author_email = sc.EMAIL,
url = sc.URL,
download_url = sc.DLURL,
keywords = ["EPA-SWMM", "GA", "Urban Drainage"],
classifiers = sc.CLASSIFY,
long_description = LONGDISC
)