forked from aviralg/goose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (54 loc) · 2.63 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# -*- coding: utf-8 -*-
"""
The following resources have been really helpful in making this setup script -
https://github.com/numpy/numpy/blob/master/setup.py
https://packaging.python.org/en/latest/index.html
https://github.com/pypa/sampleproject/blob/master/setup.py
https://docs.python.org/2/distutils/apiref.html
http://stackoverflow.com/questions/3207219/how-to-list-all-files-of-a-directory-in-python
"""
from setuptools import setup, Extension
import sys
import os
here = os.path.dirname(__file__)
with open(os.path.join(here, 'requirements.txt')) as f:
requires = f.read().splitlines()
long_description = open(os.path.join(here,"README.rst")).read()
scripts_dir = os.path.join(here, "src/scripts")
scripts = [os.path.join(scripts_dir,fn) for fn in next(os.walk(scripts_dir))[2]]
setup( name = 'goose'
, author = ",".join(["Aviral Goel", "HarshaRani"])
, author_email = ",".join(["[email protected]", "[email protected]"])
, maintainer = ",".join(["Aviral Goel", "HarshaRani"])
, maintainer_email = ",".join(["[email protected]", "[email protected]"])
, version = "0.0.0"
, url = ''
, download_url = ''
, description = "GOOSE - Graphical user interface for mOOSE"
, long_description = long_description
, classifiers = [ 'Development Status :: 3 - Alpha'
, 'Environment :: X11 Applications :: Qt'
, 'Intended Audience :: Science/Research'
, "License :: OSI Approved :: GNU General Public License v2 (GPLv2)"
, 'Programming Language :: Python :: 2.6'
, 'Programming Language :: Python :: 2.7'
, 'Programming Language :: C++'
, 'Natural Language :: English'
, 'Operating System :: OS Independent'
, 'Topic :: Scientific/Engineering'
]
, license = 'GPLv2'
, requires = requires
, packages = [ "goose"
, "goose.utils"
, "goose.widgets"
]
, package_dir = { '' : "src"
}
, package_data = { '' : [ 'src/goose/data/colormaps/*.*'
, 'src/goose/data/icons/*.png'
, 'src/goose/data/images/*.png'
]
}
, scripts = scripts
)