| 1 |
|
| 2 |
|
| 3 |
from __future__ import print_function |
| 4 |
|
| 5 |
from setuptools import setup, Extension, find_packages |
| 6 |
|
| 7 |
|
| 8 |
c_scanner = Extension("CifFile.StarScan", |
| 9 |
sources = ["src/lib/lex.yy.c","src/lib/py_star_scan.c"]) |
| 10 |
|
| 11 |
setup(name="PyCifRW", |
| 12 |
version = "5.0.1", |
| 13 |
description = "CIF/STAR file support for Python", |
| 14 |
author = "James Hester", |
| 15 |
author_email = "[email protected]", |
| 16 |
license = 'Python 2.0', |
| 17 |
url="https://github.com/jamesrhester/pycifrw/blob/development/README.md", |
| 18 |
classifiers = [ |
| 19 |
'Development Status :: 5 - Production/Stable', |
| 20 |
'Environment :: Console', |
| 21 |
'Intended Audience :: Developers', |
| 22 |
'Intended Audience :: Science/Research', |
| 23 |
'License :: OSI Approved :: Python Software Foundation License', |
| 24 |
'Operating System :: OS Independent', |
| 25 |
'Programming Language :: Python :: 3', |
| 26 |
'Programming Language :: Python :: 2', |
| 27 |
'Topic :: Scientific/Engineering :: Bio-Informatics', |
| 28 |
'Topic :: Software Development :: Libraries :: Python Modules' |
| 29 |
], |
| 30 |
py_modules = ['CifFile.CifFile_module','CifFile.yapps3_compiled_rt','CifFile.YappsStarParser_1_1','CifFile.YappsStarParser_1_0', |
| 31 |
'CifFile.YappsStarParser_STAR2','CifFile.YappsStarParser_2_0','CifFile.StarFile','CifFile.TypeContentsParser', |
| 32 |
'CifFile.cif_files_validator'], |
| 33 |
ext_modules = [c_scanner], |
| 34 |
packages = ['CifFile', 'CifFile.drel'], |
| 35 |
test_suite = 'TestPyCIFRW', |
| 36 |
package_dir = {'CifFile':'src'}, |
| 37 |
install_requires = [ |
| 38 |
"prettytable", |
| 39 |
"ply", |
| 40 |
"numpy" |
| 41 |
] |
| 42 |
) |