forked from openalea/strawberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (44 loc) · 1.56 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 -*-
from __future__ import absolute_import
import sys
import os
from setuptools import setup, find_packages
name = 'OpenAlea.Strawberry'
version = '1.1.0'
description = "Strawberry is a package for architecture analysis and 2D/3D reconstruction."
long_description = open('README.md').read()
authors="Marc Labadie, Christophe Pradal, Gaetan Heidsieck"
authors_email="[email protected], [email protected]"
url = "https://github.com/openalea/strawberry"
license = 'cecill-c'
# dependencies to other eggs
setup_requires = ['openalea.deploy']
# find packages
packages = find_packages('src')
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='strawberry, architecture, FSPM, openalea',
# package installation
packages=packages,
package_dir=package_dir,
share_dirs={'share': 'share'},
# Namespace packages creation by deploy
#namespace_packages=['openalea'],
zip_safe=False,
# Dependencies
setup_requires=setup_requires,
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={'': ['*.csv', '*.mtg', '*.R*', '*.ipynb']},
# Declare scripts and wralea as entry_points (extensions) of your package
entry_points={'wralea': ['strawberry = openalea.strawberry_wralea']},
)