-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
61 lines (49 loc) · 1.74 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 setuptools import setup, find_packages
_version = {}
with open("src/openalea/vpltk/version.py") as fp:
exec(fp.read(), _version)
version = _version["__version__"]
# Packages list, namespace and root directory of packages
packages=find_packages('src')
package_dir={'': 'src'}
# Define global variables
name = 'openalea.vpltk'
description = "PyQt compatibility package for OpenAlea."
long_description= "The OpenAlea.Vpltk package implements a dispatch layer to manage the compatibility with PyQt4, PyQt5 and PySide."
authors= "Christophe Pradal et al."
authors_email = "[email protected]"
url = "https://github.com/openalea/vpltk"
license = "CeCILL"
# dependencies to other eggs
setup_requires = ['openalea.deploy']
setup(
name=name,
version=version,
description=description,
long_description=long_description,
author=authors,
author_email=authors_email,
url=url,
license=license,
keywords='openalea',
# package installation
packages=packages,
package_dir=package_dir,
# Namespace packages creation by deploy
#namespace_packages = [namespace],
#create_namespaces = False,
zip_safe=False,
# Dependencies
setup_requires=setup_requires,
# 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={'openalea.vpltk.qt': ['*.ui'], },
# Declare scripts and wralea as entry_points (extensions) of your package
entry_points={
'plugin': ['vpltksample = openalea.vpltk.sample'],
},
)