Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
38 lines (36 loc) · 960 Bytes
/
Copy pathsetup.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
importos
importsys
try:
fromsetuptoolsimportsetup
exceptImportError:
fromdistutils.coreimportsetup
install_requires= [
'requests-oauthlib >= 0.4.0',
'url-normalize'
]
defread(fname):
try:
importpypandoc
description=pypandoc.convert(fname, 'rst')
except (IOError, ImportError):
description=''
print(description)
withopen('README.rst','w') asf: f.write(description)
returndescription
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",
]
)