-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
48 lines (40 loc) · 1.41 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
import os
from os import path
from os.path import join, abspath, dirname
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst')) as f:
readme = f.read()
with open(join(here, 'requirements.txt')) as f:
required = f.read().splitlines()
with open(join(abspath(dirname(__file__)), "VERSION"), "r") as v:
VERSION = v.read().replace("\n", "")
RELEASE = os.getenv("CIRCLE_BUILD_NUM")
setup(
name='woocommerce_subscriptions_check',
version=f"{VERSION}.{RELEASE}",
packages=find_packages(),
long_description=readme,
install_requires=required,
extras_require={
'sentry': ["sanic-sentry"]
},
include_package_data=True,
url='https://github.com/cr0hn/woocommerce-subscriptions-check',
author='Daniel Garcia (cr0hn)',
description='Check user subscriptions in Woocommerce without have and '
'admin role',
entry_points={'console_scripts': [
'wsc-server = woocommerce_subscription_check.app:main',
]},
classifiers=[
'Environment :: Console',
'Intended Audience :: System Administrators',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
],
)