setup.py 1.78 KB
Newer Older
vermeul's avatar
...  
vermeul committed
1
2
3
4
5
6
7
8
9
10
11
12
13
import sys

if sys.version_info < (3,3):
    sys.exit('Sorry, Python < 3.3 is not supported')

from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()


setup(
    name='jupyter-openbis-server',
vermeul's avatar
vermeul committed
14
    version= '0.4.0',
vermeul's avatar
...  
vermeul committed
15
16
17
18
19
20
    author='Swen Vermeul |  ID SIS | ETH Zürich',
    author_email='swen@ethz.ch',
    description='Server Extension for Jupyter notebooks to connect to openBIS and download/upload datasets, inluding the notebook itself',
    long_description=long_description,
    long_description_content_type="text/markdown",
    url='https://sissource.ethz.ch/sispub/jupyter-openbis-server',
vermeul's avatar
vermeul committed
21
    packages=['jupyter-openbis-server', 'openbis_connection'],
vermeul's avatar
...  
vermeul committed
22
23
    license='Apache Software License Version 2.0',
    install_requires=[
24
25
        'click',
        'pyyaml',
vermeul's avatar
...  
vermeul committed
26
27
        'jupyter-nbextensions-configurator',
        'jupyter',
28
        'pybis>=1.14.5',
vermeul's avatar
...  
vermeul committed
29
        'numpy',
30
        'tornado',
vermeul's avatar
...  
vermeul committed
31
32
33
34
35
36
37
38
39
40
41
    ],
    python_requires=">=3.3",
    classifiers=[
        "Programming Language :: Python :: 3.3",
        "Programming Language :: JavaScript",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent",
    ],
    include_package_data=True,
    data_files=[
        # like `jupyter serverextension enable --sys-prefix`
42
43
44
45
46
47
48
49
        (
            "etc/jupyter/jupyter_server_config.d",
            ["jupyter-config/jupyter_server_config.d/jupyter_openbis_extension.json"]
        ),
        (
            "etc/jupyter/jupyter_notebook_config.d",
            ["jupyter-config/jupyter_notebook_config.d/jupyter_openbis_extension.json"]
        )
vermeul's avatar
...  
vermeul committed
50
    ],
51
52
53
54
55
    entry_points={
        'console_scripts' : [
            'jupyter-openbis-conn=openbis_connection.main:cli',
        ]
    },
vermeul's avatar
...  
vermeul committed
56
57
    zip_safe=False,
)