-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
70 lines (56 loc) · 1.94 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
import sys
import os
from setuptools import setup
ROOT = os.path.dirname(os.path.realpath(__file__))
sys.path.insert(0, ROOT)
if os.path.exists(os.path.join(
ROOT, 'ganymede', 'static', 'ganymede.coffee'
)):
# ==> trigger ganymede.coffee-->.js compilation
# (which needs version)
from setuptools_scm import get_version
get_version(local_scheme=lambda _: '',
write_to='ganymede/__version__.py')
import ganymede.static
setup(
name='ganymede',
description="Hacking Jupyter's atmosphere",
long_description=open(os.path.join(ROOT, 'README.rst')).read(),
author="Stefan Zimmermann",
author_email="[email protected]",
url="https://github.com/zimmermanncode/ganymede",
license='GPLv3',
setup_requires=open(os.path.join(ROOT, 'requirements.setup.txt')).read(),
install_requires=open(os.path.join(ROOT, 'requirements.txt')).read(),
use_scm_version={
'local_scheme': lambda _: '',
'write_to': 'ganymede/__version__.py',
},
packages=[
'ganymede',
'ganymede.static',
],
package_data={
'ganymede.static': ['*.svg', '*.css', '*.js'],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: JavaScript',
'Topic :: Software Development',
'Topic :: Utilities',
],
keywords=[
'ganymede', 'jupyter', 'ipython', 'notebook',
],
)