-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
71 lines (66 loc) · 2.24 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# -*- coding: utf-8 -*-
"""
This module contains the tool of cellml.recipe.api
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '0.8'
long_description = (
read('README.rst')
+ '\n' +
'Change history\n'
'**************\n'
+ '\n' +
read('CHANGES.rst')
+ '\n' +
'Detailed Documentation\n'
'**********************\n'
+ '\n' +
read('cellml', 'recipe', 'api', 'README.rst')
+ '\n' +
'Contributors\n'
'************\n'
+ '\n' +
read('CONTRIBUTORS.txt')
+ '\n' +
'Download\n'
'********\n'
)
entry_point = 'cellml.recipe.api:Recipe'
entry_points = {"zc.buildout": ["default = %s" % entry_point]}
tests_require=['zope.testing', 'zc.buildout']
setup(name='cellml.recipe.api',
version=version,
description="Recipe to call CMake to build CellML API and Python bindings",
long_description=long_description,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Framework :: Buildout :: Recipe',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: GNU General Public License (GPL)',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)',
],
keywords='cellml',
author='Tommy Yu',
author_email='[email protected]',
url='http://www.cellml.org/tools/api/',
license='GPL/LGPL/MPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['cellml', 'cellml.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=['setuptools',
'zc.buildout',
# -*- Extra requirements: -*-
'zc.recipe.cmmi',
],
tests_require=tests_require,
extras_require=dict(tests=tests_require),
test_suite = 'cellml.recipe.api.tests.test_docs.test_suite',
entry_points=entry_points,
)