-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
55 lines (43 loc) · 1.48 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_namespace_packages
import os, sys
from os.path import join as pj
name = 'OpenAlea.Weberpenn'
pkg_name = 'openalea.weberpenn'
description = 'Implementation of the tree model published by Weber and Penn'
long_description= 'Implementation of the tree model published by Weber and Penn'
authors = 'Christophe Pradal'
authors_email = '[email protected]'
url = 'https://github.com/openalea/weberpenn'
license='Cecill-C'
_version = {}
with open("src/openalea/weberpenn/version.py") as fp:
exec(fp.read(), _version)
version = _version["__version__"]
namespace = 'openalea'
packages=find_namespace_packages(where='src', include=['openalea.*'])
package_dir={'': 'src'}
if __name__ == '__main__':
setup(name=name,
version=version,
author=authors,
description=description,
url=url,
license=license,
# Packages
packages=packages,
package_dir=package_dir,
# Add package platform libraries if any
zip_safe = False,
# Add package platform libraries if any
include_package_data=True,
package_data = {'' : [ '*.png'],},
# Dependencies
setup_requires = ['openalea.deploy'],
# entry_points
entry_points = {
"wralea": ["weberpenn = openalea.weberpenn.wralea",
"demo = openalea.weberpenn.demo",
]
},
)