forked from openalea/deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (58 loc) · 2.23 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
69
70
71
72
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup.py file generated by PkgLTS."""
# {# pkglts, pysetup.kwds
# format setup arguments
from setuptools import setup, find_namespace_packages
short_descr = "OpenAlea.Deploy support the installation of OpenAlea packages via the network and manage their dependencies. It is an extension of Setuptools."
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
# find version number in src/openalea/deploy/version.py
version = {}
with open("src/openalea/deploy/version.py") as fp:
exec(fp.read(), version)
setup_kwds = dict(
name='openalea.deploy',
version=version["__version__"],
description=short_descr,
long_description=readme + '\n\n' + history,
author="openalea",
author_email="[email protected]",
url='https://openalea.rtfd.io',
license='cecill-c',
zip_safe=False,
packages=find_namespace_packages(where='src', include=['openalea.*']),
#namespace_packages=['openalea'],
package_dir={'': 'src'},
entry_points={},
keywords='setuptools, openalea',
)
# #}
# change setup_kwds below before the next pkglts tag
entry_points = {
"distutils.setup_keywords": [
"lib_dirs = openalea.deploy.command:validate_bin_dirs",
"inc_dirs = openalea.deploy.command:validate_bin_dirs",
"bin_dirs = openalea.deploy.command:validate_bin_dirs",
"share_dirs = openalea.deploy.command:validate_share_dirs",
"cmake_scripts = openalea.deploy.command:validate_cmake_scripts",
"scons_scripts = openalea.deploy.command:validate_scons_scripts",
"scons_parameters = setuptools.dist:assert_string_list",
"add_plat_name = openalea.deploy.command:validate_add_plat_name",
],
"egg_info.writers": [
"lib_dirs.txt = openalea.deploy.command:write_keys_arg",
"inc_dirs.txt = openalea.deploy.command:write_keys_arg",
"bin_dirs.txt = openalea.deploy.command:write_keys_arg",
],
"distutils.commands": [
"cmake = openalea.deploy.command:cmake",
"scons = openalea.deploy.command:scons",
],
}
setup_kwds["entry_points"] = entry_points
setup_kwds["include_package_data"] = True
# do not change things below
# {# pkglts, pysetup.call
setup(**setup_kwds)
# #}