-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (28 loc) · 889 Bytes
/
setup.py
File metadata and controls
33 lines (28 loc) · 889 Bytes
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
import os
from setuptools import setup
import sync
if os.environ.get('CONVERT_README'):
import pypandoc
long_description = pypandoc.convert_file('README.md', 'rst')
else:
long_description = ''
setup(
name='dir-sync',
use_scm_version=True,
version=sync.VERSION,
description='Sync files in the local folder with files in the remote location, e.g. Google Drive.',
long_description=long_description,
author='Mingchao Liao',
author_email='mingchaoliao95@gmail.com',
url='https://github.com/mingchaoliao/dir-sync',
license='MIT',
packages=['sync', 'sync.google_drive', 'sync.local'],
zip_safe=False,
install_requires=['google-api-python-client', 'google-auth-httplib2', 'google-auth-oauthlib'],
python_requires='>=3.6',
entry_points={
'console_scripts': [
'dir-sync = sync.main:main'
]
}
)