-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsetup.py
41 lines (37 loc) · 1.37 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
import io
import sys
import glob
from setuptools import find_packages, setup
with io.open('calysto_scheme/scheme.py', encoding="utf-8") as fid:
for line in fid:
if line.startswith('__version__'):
__version__ = line.strip().split()[-1][1:-1]
break
with open('README.md') as f:
readme = f.read()
setup(name='calysto_scheme',
version=__version__,
description='A Scheme kernel for Jupyter that can use Python libraries',
long_description=readme,
author='Douglas Blank',
author_email='[email protected]',
url="https://github.com/Calysto/calysto_scheme",
install_requires=["metakernel", "yasi"],
packages=find_packages(include=["calysto_scheme", "calysto_scheme.*"]),
package_data={'calysto_scheme': ["images/*.png", "modules/*.ss"]},
platforms=["Any"],
scripts = ["scripts/calysto-scheme", "scripts/calysto-scheme-debug"],
data_files=[
('share/jupyter/kernels/calysto_scheme',
['calysto_scheme/kernel.json'] + glob.glob('calysto_scheme/images/*.png')
)
],
classifiers = [
'Framework :: IPython',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
'Programming Language :: Scheme',
'Topic :: System :: Shells',
]
)