-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
35 lines (32 loc) · 1.09 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
from os.path import abspath, dirname, join
from setuptools import setup, find_packages
NAME = "basic_shopify_api"
exec(open("basic_shopify_api/__version__.py").read())
DESCRIPTION = "A sync/async REST and GraphQL client for Shopify API using HTTPX"
readme_file = join(dirname(abspath(__file__)), "README.md")
try:
import pypandoc
LONG_DESCRIPTION = pypandoc.convert(readme_file, "rst")
LONG_DESCRIPTION_CT = "text/x-rst"
except(IOError, ImportError):
LONG_DESCRIPTION = open(readme_file).read()
LONG_DESCRIPTION_CT = "text/markdown"
setup(
name=NAME,
version=VERSION,
description="A sync/async REST and GraphQL client for Shopify API using HTTPX",
long_description_content_type=LONG_DESCRIPTION_CT,
long_description=LONG_DESCRIPTION,
author="osiset",
author_email="[email protected]",
url="https://github.com/osiset/basic_shopify_api",
packages=find_packages(exclude=['tests']),
license="MIT License",
install_requires=[
"httpx>=0.13"
],
platforms="Any",
python_requires=">=3.6",
zip_safe=False,
include_package_data=True,
)