-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
36 lines (28 loc) · 1003 Bytes
/
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
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'requirements.txt')) as f:
requirements = f.read().splitlines()
with open(path.join(here, 'README.md')) as f:
long_description = f.read()
from hiveql.constants import __version__, KERNEL_NAME, DISPLAY_NAME
setup(
name=KERNEL_NAME + "Kernel",
version=__version__,
description=DISPLAY_NAME + ' Kernel',
long_description=long_description,
url='https://github.com/EDS-APHP/HiveQLKernel',
author='APHP - EDS',
license='MIT',
keywords='Hive HiveQL PyHive Kernel Ipykernel',
packages=find_packages(),
install_requires=requirements,
entry_points={
'console_scripts':
['jupyter-hiveql = {}.__main__:main'.format(KERNEL_NAME)],
},
include_package_data=False, # otherwise package_data is not used
package_data={
KERNEL_NAME: ['resources/logo-*.png', 'resources/*.css'],
},
)