-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (58 loc) · 1.54 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
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from setuptools import setup
import sys
# Python version
if sys.version_info[:2] < (3, 3):
print('DGFS requires Python 3.3 or newer')
sys.exit(-1)
# DGFS version
vfile = open('dgfs1D/_version.py').read()
vsrch = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", vfile, re.M)
if vsrch:
version = vsrch.group(1)
else:
print('Unable to find a version string in dgfs1D/_version.py')
# Modules
modules = [
]
# Data
package_data = {
}
# Hard dependencies
install_requires = [
'numpy >= 1.8',
'pytecplot >= 0.9'
]
# Soft dependencies
extras_require = {
}
# Scripts
console_scripts = [
'tecCmd = tecCmd.tecCmd:__main__'
]
# Info
classifiers = [
'License :: GNU GPL v2',
'Programming Language :: Python',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering'
]
long_description = '''tecCmd is a utility for generating publication quality plots effortlessly'''
setup(name='tecCmd',
version=version,
description='Plot generation for scientific publishing',
long_description=long_description,
author='Purdue University, West Lafayette',
author_email='[email protected]',
url='http://www.github.com/jaisw7',
license='GNU GPL v2',
keywords='Applied Mathematics',
packages=['dgfs1D'] + modules,
package_data=package_data,
entry_points={'console_scripts': console_scripts},
install_requires=install_requires,
extras_require=extras_require,
classifiers=classifiers
)