forked from facultyai/lens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (38 loc) · 1.16 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
#!/usr/bin/env python
import os
from setuptools import setup
def source_root_dir():
"""Return the path to the root of the source distribution"""
return os.path.abspath(os.path.dirname(__file__))
def read_version():
"""Read the version from the ``lens.version`` module"""
filename = os.path.join(source_root_dir(), 'lens/version.py')
with open(filename) as fin:
namespace = {}
exec(fin.read(), namespace) # pylint: disable=exec-used
return namespace['__version__']
with open('README.rst') as file:
LONG_DESCRIPTION = file.read()
setup(
name='lens',
version=read_version(),
description='Summarise and explore Pandas DataFrames',
copyright='Copyright 2017, ASI Data Science',
license='Apache 2.0',
url='https://github.com/asidatascience/lens',
author='ASI Data Science',
author_email='[email protected]',
packages=['lens'],
zip_safe=False,
long_description=LONG_DESCRIPTION,
install_requires=[
'dask[dataframe,delayed]',
'ipywidgets',
'matplotlib',
'numpy>=1.11',
'pandas',
'plotly',
'scipy',
'tdigest',
],
)