-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
68 lines (54 loc) · 1.88 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
# -*- coding: utf-8 -*-
__revision__ = "$Id: $"
import sys
from setuptools import setup, find_packages
# Define metainfo
version = '1.3.0'
name = 'RSML'
package = 'RSML'
description= 'RSML package provide IO functionality between .rsml file and MTG'
long_description= 'RSML package provide IO functionality between .rsml file and MTG, as well as ploting and standard measurements.'
authors= 'C. Pradal, J. Diener'
authors_email = 'christophe.pradal at cirad.fr'
url = 'https://github.com/openalea/RSML'
license = 'Cecill-C'
# Packages list, namespace and root directory of packages
pkgs = find_packages('src')
packages = pkgs
package_dir = dict([('', 'src')] + [(pkg, "src/" + pkg) for pkg in pkgs])
# dependencies to other eggs
setup_requires = ['openalea.deploy']
# web sites where to find eggs
setup(
name=name,
version=version,
description=description,
long_description=long_description,
author=authors,
author_email=authors_email,
url=url,
license=license,
keywords='rsml',
# package installation
packages=packages,
package_dir=package_dir,
# Namespace packages creation by deploy
zip_safe=False,
# Dependencies
setup_requires=setup_requires,
# Eventually include data in your package
# (folowing is to include all versioned files other than .py)
include_package_data=True,
# (you can provide an exclusion dictionary named exclude_package_data to remove parasites).
# alternatively to global inclusion, list the file to include
#package_data = {'' : ['*.pyd', '*.so'],},
share_dirs = {'share': 'share'},
# postinstall_scripts = ['',],
# Declare scripts and wralea as entry_points (extensions) of your package
entry_points={
'wralea': ['rsml = rsml_wralea'],
'console_scripts': [
'hirros = rsml.hirros:main' # Define a console script to run your Voilà app
]
},
)