forked from vitroid/GenIce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·48 lines (43 loc) · 1.49 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
#!/usr/bin/env python3
from setuptools import setup
import os
import codecs
import re
#Copied from wheel package
here = os.path.abspath(os.path.dirname(__file__))
#README = codecs.open(os.path.join(here, 'README.txt'), encoding='utf8').read()
#CHANGES = codecs.open(os.path.join(here, 'CHANGES.txt'), encoding='utf8').read()
with codecs.open(os.path.join(os.path.dirname(__file__), 'genice', '__init__.py'),
encoding='utf8') as version_file:
metadata = dict(re.findall(r"""__([a-z]+)__ = "([^"]+)""", version_file.read()))
setup(name='GenIce',
version=metadata['version'],
description='Hydrogen-disordered ice generator',
#long_description=README + '\n\n' + CHANGES,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
],
author='Masakazu Matsumoto',
author_email='[email protected]',
url='https://github.com/vitroid/GenIce/',
keywords=['genice',],
license='MIT',
packages=['genice',
'genice.molecules',
'genice.lattices',
'genice.formats',
],
install_requires=['numpy', 'networkx', ],
entry_points = {
'console_scripts': [
'genice = genice.__main__:main'
]
}
# entry_points="""
# [console_scripts]
# genice = genice.__main__:main
# """
)