/
setup.py
55 lines (45 loc) · 1.79 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 -*-
__revision__ = "$Id: $"
import sys
import os
from setuptools import setup, find_packages
# Packages list, namespace and root directory of packages
pkg_root_dir = 'src'
namespace = 'openalea'
pkgs = [ pkg for pkg in find_packages(pkg_root_dir)]
top_pkgs = [pkg for pkg in pkgs if len(pkg.split('.')) < 2]
packages = pkgs
package_dir = dict( [('',pkg_root_dir)] + [(namespace + "." + pkg, pkg_root_dir + "/" + pkg) for pkg in top_pkgs] )
setup(
name='openalea.vmango',
version='3.0.0',
description='V-Mango package for openalea.',
long_description='The openalea.vmango contains a simulation and analysis tool for mango tree architecture.',
author='Frederic Boudon',
author_email='frederic.boudon@cirad.fr',
url='http://openalea.gforge.inria.fr',
license='Cecill-C',
keywords = '',
# package installation
packages= packages,
package_dir= package_dir,
# Namespace packages creation by deploy
namespace_packages = [namespace],
#create_namespaces = False,
zip_safe= False,
# Eventually include data in your package
# (flowing 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'],},
# postinstall_scripts = ['',],
# Declare scripts and entry_points (extensions) of your package
entry_points = {
#'console_scripts': [
# 'fake_script = openalea.fakepackage.amodule:console_script', ],
# 'gui_scripts': [
# 'fake_gui = openalea.fakepackage.amodule:gui_script',],
#
},
)