-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (27 loc) · 879 Bytes
/
setup.py
File metadata and controls
30 lines (27 loc) · 879 Bytes
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
#!/usr/bin/env/ python
from setuptools import setup, find_packages
import os
# retrieve the version
try:
versionfile = os.path.join('dympy','__version__.py')
f = open( versionfile, 'r')
content = f.readline()
splitcontent = content.split('\'')
version = splitcontent[1]
f.close()
except:
raise Exception('Could not determine the version from dympy/__version__.py')
# run the setup command
setup(
name='dympy',
version=version,
license='MIT',
description='Python-Dymola communication on windows',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='https://github.com/BrechtBa/dympy',
author='Brecht Baeten',
author_email='brecht.baeten@gmail.com',
packages=find_packages(),
install_requires=['numpy','scipy'],
classifiers=['Programming Language :: Python :: 2.7'],
)