forked from recurly/recurly-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
26 lines (23 loc) · 822 Bytes
/
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
import setuptools
import re
import os.path
# get version from top level __init__ file
VERSION_RE = re.compile('^__version__ = "(.+)"$', flags=re.MULTILINE)
with open(os.path.join(os.path.dirname(__file__), "recurly", "__init__.py")) as PACKAGE:
VERSION = VERSION_RE.search(PACKAGE.read()).group(1)
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="recurly",
# version managed in recurly/__init__.py
version=VERSION,
author="Developer Experience",
author_email="[email protected]",
description="Recurly v4",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/recurly/recurly-client-python",
packages=setuptools.find_packages(),
classifiers=[],
tests_require=["coverage"],
)