-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
36 lines (33 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
# Setup file for creation of the PyCIFRW
# distribution
from __future__ import print_function
from setuptools import setup, Extension, find_packages
#### Do the setup
c_scanner = Extension("CifFile.StarScan",
sources = ["src/lib/lex.yy.c","src/lib/py_star_scan.c"])
setup(name="PyCifRW",
version = "4.4.6",
description = "CIF/STAR file support for Python",
author = "James Hester",
author_email = "[email protected]",
license = 'Python 2.0',
url="https://github.com/jamesrhester/pycifrw/blob/development/README.md",
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Python Software Foundation License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Software Development :: Libraries :: Python Modules'
],
py_modules = ['CifFile.CifFile_module','CifFile.yapps3_compiled_rt','CifFile.YappsStarParser_1_1','CifFile.YappsStarParser_1_0',
'CifFile.YappsStarParser_STAR2','CifFile.YappsStarParser_2_0','CifFile.StarFile','CifFile.TypeContentsParser'],
ext_modules = [c_scanner],
packages = ['CifFile', 'CifFile.drel'],
test_suite = 'TestPyCIFRW',
package_dir = {'CifFile':'src'}
)