This repository was archived by the owner on Aug 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.3 KB
/
setup.py
File metadata and controls
42 lines (38 loc) · 1.3 KB
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
import os
import sys
_here = os.path.abspath(os.path.dirname(__file__))
if sys.version_info[0] < 3:
with open(os.path.join(_here, "README.md")) as f:
long_description = f.read()
else:
with open(os.path.join(_here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
version = {}
with open(os.path.join(_here, "retirable_resources", "version.py")) as f:
exec(f.read(), version)
setup(
name="retirable_resources",
version=version["__version__"],
description=("Retirable resources for Firestore."),
long_description=long_description,
author="Steve Alexander",
author_email="steve@stevea.com",
url="https://github.com/SteveAlexander/retirable_resources",
download_url="https://github.com/SteveAlexander/retirable_resources/archive/refs/tags/0.1.9.tar.gz",
license="MIT",
packages=["retirable_resources"],
install_requires=[
"google-cloud-firestore>=2.1.3",
"google-auth>=1.33.0",
],
# no scripts in this example
# scripts=['bin/a-script'],
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
],
)