-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·93 lines (77 loc) · 2.47 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#! /usr/bin/env python3
import imp
import os
import sys
from setuptools import find_packages, setup
import subprocess
NAME = 'OASYS1-COMSYL'
VERSION = '1.0.19'
ISRELEASED = False
DESCRIPTION = 'oasys-comsyl: Oasys widgets for COMSYL'
README_FILE = os.path.join(os.path.dirname(__file__), 'README.txt')
LONG_DESCRIPTION = open(README_FILE).read()
AUTHOR = 'M. Sanchez del Rio, M. Glass'
AUTHOR_EMAIL = 'srio@esrf.eu'
URL = 'https://github.com/oasys-kit/oasys-comsyl'
DOWNLOAD_URL = 'https://github.com/oasys-kit/oasys-comsyl'
LICENSE = 'MIT'
KEYWORDS = (
'application',
'COMSYL',
'Oasys',
'Orange',
'comsyl>=1.0.13',
)
CLASSIFIERS = (
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: Qt',
'Environment :: Console',
'Environment :: Plugins',
'Programming Language :: Cython',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Intended Audience :: Science/Research',
)
SETUP_REQUIRES = (
'setuptools',
)
INSTALL_REQUIRES = (
'oasys1',
'comsyl'
)
PACKAGES = find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests'))
PACKAGE_DATA = {
"":["icons/*.png", "icons/*.jpg"],
# "orangecontrib.comsyl.widgets.applications":["icons/*.png", "icons/*.jpg"],
# "orangecontrib.comsyl.widgets.tools":["icons/*.png", "icons/*.jpg"],
}
NAMESPACE_PACAKGES = ["orangecontrib","orangecontrib.comsyl", "orangecontrib.comsyl.widgets"]
ENTRY_POINTS = {
'oasys.addons' : ("COMSYL = orangecontrib.comsyl", ),
'oasys.widgets' : (
"COMSYL Apps = orangecontrib.comsyl.widgets.applications",
"COMSYL Tools = orangecontrib.comsyl.widgets.tools",
),
}
if __name__ == '__main__':
setup(
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
url = URL,
download_url = DOWNLOAD_URL,
license = LICENSE,
keywords = KEYWORDS,
classifiers = CLASSIFIERS,
packages = PACKAGES,
package_data = PACKAGE_DATA,
setup_requires = SETUP_REQUIRES,
install_requires = INSTALL_REQUIRES,
entry_points = ENTRY_POINTS,
namespace_packages=NAMESPACE_PACAKGES,
include_package_data = True,
zip_safe = False,
)