forked from shamelmerchant/PyChemkin
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
42 lines (36 loc) · 1.26 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
################################################################################
#
# PyChemkin
#
################################################################################
import numpy
import sys
if __name__ == '__main__':
# Use setuptools by default (requires Python>=2.6) if available
# If not available, fall back to distutils
# Using setuptools enables support for compiling wheels
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup
from distutils.extension import Extension
modules = ['pychemkin.chemkin',
'pychemkin.flux',
'pychemkin.ignition',
'pychemkin.sensitivity',
'pychemkin.html',
]
# Read the version number
exec(open('pychemkin/version.py').read())
# Run the setup command
setup(name='PyChemkin',
version=__version__,
description='A Python interface for CHEMKIN analysis',
author='Connie W. Gao and the Reaction Mechanism Generator Team',
author_email='[email protected]',
url='http://github.com/GreenGroup/PyChemkin',
py_modules= modules,
packages = ['pychemkin']
)