-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·42 lines (30 loc) · 1.11 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
from setuptools import setup, find_packages
import re
def get_long_description():
with open('README.md') as f:
return re.sub('!\[(.*?)\]\(docs/(.*?)\)',
r'![\1](https://github.com/mara/mara-google-sheet-downloader/raw/master/docs/\2)', f.read())
setup(
name='mara-google-sheet-downloader',
version='1.0.0',
description='Download Google sheets in the mara etl framework',
long_description=get_long_description(),
long_description_content_type='text/markdown',
url='https://github.com/mara/mara-google-sheet-downloader',
install_requires=[
'mara-db>=4.2.0',
'mara-pipelines>=3.0.0',
'gspread>=3.1.0',
'oauth2client>=1.5.0', # old, will be replaced soon
'google_auth_oauthlib' # new, already used in the user credential helper
],
tests_require=['pytest'],
python_requires='>=3.6',
packages=find_packages(),
author='Mara contributors',
license='MIT',
entry_points='''
[console_scripts]
mara-google-sheet-downloader=mara_google_sheet_downloader.__main__:gs_download_to_csv
''',
)