-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
53 lines (46 loc) · 1.42 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
# noinspection Mypy
from setuptools import setup, find_packages
from os import path, getcwd
# from https://packaging.python.org/tutorials/packaging-projects/
# noinspection SpellCheckingInspection
package_name = "sparkautomapper"
with open("README.md", "r") as fh:
long_description = fh.read()
try:
with open(path.join(getcwd(), "VERSION")) as version_file:
version = version_file.read().strip()
except IOError:
raise
# classifiers list is here: https://pypi.org/classifiers/
# create the package setup
setup(
install_requires=[
"py4j==0.10.9.7",
"pyspark==3.5.1",
"logger>=1.4",
"sparkdataframecomparer>=2.0.6",
"deprecated>=1.2.12",
"numpy>=1.15",
],
name=package_name,
version=version,
author="Imran Qureshi",
author_email="[email protected]",
description="AutoMapper for Spark",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/imranq2/SparkAutoMapper",
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires=">=3",
dependency_links=[],
include_package_data=True,
zip_safe=False,
package_data={package_name: ["py.typed"]},
data_files=[],
)