Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (49 loc) · 1.46 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (49 loc) · 1.46 KB
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
54
55
56
# 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=[
"logger>=1.4",
"sparkdataframecomparer==2.0.16",
"deprecated>=1.2.12",
"numpy>=1.15",
],
extras_require={
"spark": [
"pyspark==4.2.0",
]
},
name=package_name,
version=version,
author="Imran Qureshi",
author_email="imranq2@hotmail.com",
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=[],
)