-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
52 lines (50 loc) · 1.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
#!/usr/bin/env python
try:
from setuptools import setup
args = {}
except ImportError:
from distutils.core import setup
print("""\
*** WARNING: setuptools is not found. Using distutils...
""")
from setuptools import setup
try:
from pypandoc import convert
def read_md(f):
"Read md"
return convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
def read_md(f):
"Read md"
return open(f, 'r').read()
setup(name='phenum',
version="2.2.0",
description='Enumeration of symmetrically unique derivative superstructures of crystals.',
long_description=read_md('README.md'),
author='Wiley S Morgan',
author_email='[email protected]',
url='https://github.com/wsmorgan/phonon-enumeration',
license='MIT',
install_requires=[
"numpy",
"termcolor",
"pyparsing",
"matplotlib",
],
packages=['phenum'],
scripts=['phenum/enumeration.py','phenum/phenumStr.py'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering :: Physics',
],
)