-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
63 lines (51 loc) · 1.83 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# {# pkglts, pysetup.kwds
# format setup arguments
from setuptools import setup, find_packages
short_descr = "Container is a set of data structures used in openalea such as : graph, grid, topomesh"
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
# find version number in src/openalea/container/version.py
version = {}
with open("src/openalea/container/version.py") as fp:
exec(fp.read(), version)
setup_kwds = dict(
name='openalea.container',
version=version["__version__"],
description=short_descr,
long_description=readme + '\n\n' + history,
author="Christophe Pradal, revesansparole, ",
author_email="christophe dot pradal at cirad dot fr, [email protected], ",
url='https://github.com/openalea/container',
license='cecill-c',
zip_safe=False,
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=[
],
tests_require=[
"coverage",
"mock",
"nose",
"sphinx",
],
entry_points={},
keywords='',
test_suite='nose.collector',
)
# #}
# change setup_kwds below before the next pkglts tag
setup_kwds['include_package_data'] = True
setup_kwds['package_data'] = {'': ['*.pyd', '*.so', '*.zip', '*.png']}
setup_kwds['pylint_packages'] = ['src/container',
'src/container/backend',
'src/container/utils',
'src/container/generator',
'src/openalea/iterator',
'src/openalea/traversal']
setup_kwds['entry_points']['wralea'] = ['openalea.container.mesh = openalea.container_wralea.mesh']
# do not change things below
# {# pkglts, pysetup.call
setup(**setup_kwds)
# #}