-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
48 lines (39 loc) · 1.5 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
import os
import pathlib
import pkg_resources
from setuptools import setup
def read(fname):
this_directory = pathlib.Path(__file__).parent
long_description = (this_directory / fname).read_text()
return long_description
def read_requirements(path):
with pathlib.Path(path).open() as requirements_txt:
return [
str(requirement)
for requirement in pkg_resources.parse_requirements(requirements_txt)
]
requirements = read_requirements("requirements/prod.txt")
extra_requirements_dev = read_requirements("requirements/dev.txt")
setup(
name="google-drive",
version="0.5.1",
author="Eduardo Garcia",
author_email="[email protected]",
maintainer="Eduardo García",
maintainer_email="[email protected]",
description=("Library and cli to manage and interact with your Google Drive"),
license="Apache",
keywords="google drive",
url="https://github.com/eduardogr/google-drive-python",
packages=["googledrive"],
install_requires=requirements,
extras_require={"dev": extra_requirements_dev},
long_description=read("README.md"),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: Apache Software License",
],
entry_points={"console_scripts": ["google-drive = googledrive.cli:googledrive"]},
)