-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (36 loc) · 960 Bytes
/
setup.py
File metadata and controls
38 lines (36 loc) · 960 Bytes
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
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
install_requires = [
'requests-oauthlib >= 0.4.0',
'url-normalize'
]
def read(fname):
try:
import pypandoc
description = pypandoc.convert(fname, 'rst')
except (IOError, ImportError):
description = ''
print(description)
with open('README.rst','w') as f: f.write(description)
return description
setup(
name="semantics3",
version="0.3.9",
author="Shawn Tan, Abishek Bhat",
author_email="abishek@semantics3.com",
description=("Semantics3 Products API"),
license="MIT",
keywords="api ecommerce products",
url="https://github.com/Semantics3/semantics3-python",
packages=['semantics3'],
long_description=read('README.md'),
install_requires=install_requires,
classifiers=[
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
]
)