-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
63 lines (49 loc) · 1.68 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
# -*- coding: utf-8 -*-
import sys
from os.path import join as pj
from setuptools import setup, find_namespace_packages
# find version number in src/openalea/core/version.py
_version = {}
with open("src/openalea/visualea/version.py") as fp:
exec(fp.read(), _version)
version = _version["__version__"]
#metadata = read_metainfo('metainfo.ini', verbose=True)
#for key,value in list(metadata.items()):
# exec("%s = '%s'" % (key, value))
readme = open('README.md').read()
name = 'OpenAlea.Visualea'
description = 'OpenAlea Visual Programming Environment.'
long_description = readme
authors = 'OpenAlea consortium'
authors_email = 'christophe pradal at cirad fr'
url = 'https://github.com/openalea/visualea'
license = 'Cecill'
namespace = 'openalea'
packages = find_namespace_packages(where='src', include=['openalea.*'])
package_dir = {'': 'src'}
setup(
name=name,
version=version,
description=description,
long_description=long_description,
author=authors,
author_email=authors_email,
url=url,
license=license,
keywords='visual programming, openalea, Scientific Workflows',
# Packages
packages = packages,
package_dir = package_dir,
package_data = {'openalea.visualea.resources' : ['*.ui', '*.png'],},
include_package_data = True,
zip_safe = False,
# Scripts
entry_points = { 'gui_scripts': [
'visualea = openalea.visualea.visualea_script:start_gui',
'aleashell = openalea.visualea.shell:main',],
},
#postinstall_scripts = ['visualea_postinstall'],
share_dirs = { 'share' : 'share' },
# Dependencies
setup_requires = ['openalea.deploy'],
)