-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (46 loc) · 1.69 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
import os
from setuptools import find_packages, setup
from slide_version import __version__
with open("README.md") as f:
LONG_DESCRIPTION = f.read()
def get_version() -> str:
tag = os.environ.get("RELEASE_TAG", "")
if "dev" in tag.split(".")[-1]:
return tag
if tag != "":
assert tag == __version__, "release tag and version mismatch"
return __version__
setup(
name="slide",
version=get_version(),
packages=find_packages(),
description="A collection of utility functions to unify"
" pandas-like dataframes behaviors",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license="Apache-2.0",
author="Han Wang",
author_email="[email protected]",
keywords="pandas sql",
url="http://github.com/fugue-project/slide",
install_requires=["triad>=0.5.6", "pandas>=1.1.0", "numpy>=1.19"],
extras_require={
"dask": ["dask[dataframe]", "cloudpickle>=1.4.0"],
"ray": ["pandas>=1.1.2", "modin[ray]>=0.8.1.1"],
"all": ["dask[dataframe]", "cloudpickle>=1.4.0"],
"test": ["duckdb"],
},
classifiers=[
# "3 - Alpha", "4 - Beta" or "5 - Production/Stable"
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
],
python_requires=">=3.6",
)