-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
66 lines (49 loc) · 1.78 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
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import sys
import os
from setuptools import setup, find_namespace_packages
name = 'OpenAlea.Strawberry'
version = '1.2.1'
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"
url = "https://github.com/openalea/strawberry"
license = 'cecill-c'
# dependencies to other eggs
setup_requires = ['openalea.deploy']
# find packages
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='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'],
'console_scripts': [
'strawberry = openalea.strawberry.application.run:main' # Define a console script to run your Voilà app
]
},
)