Skip to content

Commit

Permalink
Reformat setup.py.in for the Cython interface.
Browse files Browse the repository at this point in the history
setup.py.in now contains classifiers and other information
supported by setuptools for metadata about the project. Also,
reformat lines to be consistent 4 spaces.
  • Loading branch information
bryanwweber committed Jul 31, 2015
1 parent 6298d60 commit 70e376e
Showing 1 changed file with 45 additions and 21 deletions.
66 changes: 45 additions & 21 deletions interfaces/cython/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,54 @@ if os.name == 'nt':

bdist_msi.run = bdist_run_new

long_description = ''
with open('../../doc/sphinx/index.rst', 'r') as f:
for line in f.readlines()[7:19]:
long_description += line.replace('\n', ' ')

setup(name="Cantera",
version="@cantera_version@",
description="The Cantera Python Interface",
long_description="""
""",
author="Raymond Speth",
author_email="speth@mit.edu",
url="http://www.cantera.org",
packages = ['cantera',
'cantera.data',
'cantera.test',
'cantera.test.data',
'cantera.mixmaster',
'cantera.mixmaster.Units',
'cantera.examples'],
entry_points={
setup(
name="Cantera",
version="@cantera_version@",
description="The Cantera Python Interface",
long_description=long_description,
author="Raymond Speth",
author_email="speth@mit.edu",
url="http://www.cantera.org",
packages = [
'cantera',
'cantera.data',
'cantera.test',
'cantera.test.data',
'cantera.mixmaster',
'cantera.mixmaster.Units',
'cantera.examples',
],
entry_points={
'console_scripts': [
'ck2cti=cantera.ck2cti:script_entry_point',
'ctml_writer=cantera.ctml_writer:main',
'mixmaster=cantera.mixmaster.__main__:main',
],
},
package_data = {'cantera.data': ['*.*'],
'cantera.test.data': ['*.*'],
'cantera.examples': ['*/*.*'],
'cantera': ["@py_extension@", '*.pxd']})
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: C++',
'Programming Language :: Fortran',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering :: Chemistry',
],
package_data = {
'cantera.data': ['*.*'],
'cantera.test.data': ['*.*'],
'cantera.examples': ['*/*.*'],
'cantera': ["@py_extension@", '*.pxd'],
},
)

0 comments on commit 70e376e

Please sign in to comment.