forked from awslabs/aws-glue-libs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (47 loc) · 1.75 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
import os
from setuptools import setup
PACKAGE_NAME = 'awsglue'
JAR_DIRECTORY = 'jarsv1'
PACKAGE_VERSION = '3.0.0+uee.1'
PYTHON_REQUIREMENTS = [
'boto3', 'pyspark==3.1.1+amzn.0'
]
PACKAGE_DESCRIPTION = 'AWS glue libs packaged'
PACKAGE_URL = 'https://github.com/awslabs/aws-glue-libs'
if __name__ == '__main__':
current_dir = os.path.abspath(os.path.dirname(__file__))
with open('README.md') as f:
long_description = f.read()
setup(
name=PACKAGE_NAME,
version=PACKAGE_VERSION,
description=PACKAGE_DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url=PACKAGE_URL,
packages=['awsglue',
'awsglue.dataframe_transforms',
'awsglue.scripts',
'awsglue.transforms',
'awsglue.jars',
'awsglue.bin'],
include_package_data=True,
package_dir={
'awsglue': 'awsglue',
'awsglue.dataframe_transforms': 'awsglue/dataframe_transforms',
'awsglue.scripts': 'awsglue/scripts',
'awsglue.transforms': 'awsglue/transforms',
'awsglue.jars': JAR_DIRECTORY,
'awsglue.bin': 'sbin',
},
scripts=['sbin/gluepython', 'sbin/gluepyspark', 'sbin/gluepytest', 'sbin/gluesparksubmit', 'sbin/find_glue_home.py'],
package_data={
'awsglue.jars': ['*.jar'],
'awsglue.bin': ['*']},
license='http://www.apache.org/licenses/LICENSE-2.0',
install_requires=PYTHON_REQUIREMENTS,
python_requires='>=3.7,<3.8',
classifiers=[
'Programming Language :: Python :: 3.7'],
license_files = ('LICENSE.txt', 'NOTICE.txt', 'README.md')
)