2017-03-15 22:14:05 +03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2017-06-29 02:41:10 +03:00
|
|
|
test_deps = [
|
2020-12-16 19:51:45 +03:00
|
|
|
'coverage==5.3',
|
2018-11-28 19:06:16 +03:00
|
|
|
'pytest-cov==2.6.0',
|
|
|
|
'pytest-timeout==1.3.3',
|
2020-12-12 02:16:26 +03:00
|
|
|
'moto==1.3.16',
|
2018-11-28 19:06:16 +03:00
|
|
|
'mock==2.0.0',
|
|
|
|
'pytest==3.10.1',
|
2023-01-19 00:19:59 +03:00
|
|
|
# NOTE: this is pinned to 4.0.0 so as to pin importlib to a version that works.
|
|
|
|
'flake8==4.0.0'
|
2017-06-29 02:41:10 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
extras = {
|
|
|
|
'testing': test_deps,
|
|
|
|
}
|
2017-04-12 21:16:10 +03:00
|
|
|
|
2017-04-25 17:27:38 +03:00
|
|
|
setup(
|
|
|
|
name='mozetl',
|
|
|
|
version='0.1',
|
|
|
|
description='Python ETL jobs for Firefox Telemetry to be scheduled on Airflow.',
|
|
|
|
author='Ryan Harter',
|
|
|
|
author_email='harterrt@mozilla.com',
|
|
|
|
url='https://github.com/mozilla/python_mozetl.git',
|
|
|
|
packages=find_packages(exclude=['tests']),
|
2017-05-03 21:36:07 +03:00
|
|
|
include_package_data=True,
|
2019-02-07 19:18:42 +03:00
|
|
|
# PLEASE pin any dependencies to exact versions, otherwise things might unexpectedly break!!
|
2017-04-25 17:27:38 +03:00
|
|
|
install_requires=[
|
2017-10-10 17:37:05 +03:00
|
|
|
'arrow==0.10.0',
|
2019-02-07 20:02:55 +03:00
|
|
|
'boto==2.49.0',
|
2020-12-12 02:16:26 +03:00
|
|
|
'boto3==1.16.20',
|
|
|
|
'botocore==1.19.20',
|
2020-12-16 19:51:45 +03:00
|
|
|
'click==7.1.2',
|
2017-10-10 17:37:05 +03:00
|
|
|
'click_datetime==0.2',
|
2023-08-04 00:11:52 +03:00
|
|
|
'google-cloud-storage==2.7.0',
|
2020-12-16 19:51:45 +03:00
|
|
|
'numpy==1.19.4',
|
|
|
|
'pandas==1.1.4',
|
2023-01-19 00:19:59 +03:00
|
|
|
# NOTE: this is pinned to 3.20.3 because protos changed and we can't regenerate them.
|
|
|
|
'protobuf==3.20.3',
|
2019-11-01 15:40:06 +03:00
|
|
|
'pyspark==2.3.2',
|
2023-01-12 16:40:57 +03:00
|
|
|
'python-moztelemetry @ git+http://github.com/mozilla/python_moztelemetry.git@v0.10.2#egg=python-moztelemetry',
|
2020-12-16 19:51:45 +03:00
|
|
|
'requests-toolbelt==0.9.1',
|
|
|
|
'requests==2.25.0',
|
|
|
|
'scipy==1.5.4',
|
2018-12-19 01:14:56 +03:00
|
|
|
'typing==3.6.4',
|
2020-12-16 19:51:45 +03:00
|
|
|
'six==1.15.0',
|
2017-04-25 17:27:38 +03:00
|
|
|
],
|
2017-06-29 02:41:10 +03:00
|
|
|
tests_require=test_deps,
|
|
|
|
extras_require=extras,
|
2017-04-25 17:27:38 +03:00
|
|
|
)
|