forked from lumapps/lumapps-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·47 lines (39 loc) · 1.24 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 sys
import os
from io import open
from setuptools import setup, find_packages
__version__ = None
with open("lumapps_api_client/version.py") as f:
exec(f.read())
long_description = "Please see our GitHub README"
if os.path.exists("README.md"):
long_description = open("README.md", "r", encoding="utf-8").read()
def getRequires():
deps = []
requirements = None
with open("requirements.txt") as f:
requirements = f.read().splitlines()
return deps if requirements is None else requirements
setup(
name="lumapps_sdk",
version=str(__version__),
author="Jean Sebastien SEVESTRE, Ludovic VAUGEOIS PEPIN, Salah GHAMIZI",
author_email="[email protected]",
url="",
packages=find_packages(include=["lumapps_api_helpers", "lumapps_api_client"]),
include_package_data=True,
license="MIT",
description="Lumapps SDK for Python",
long_description=long_description,
install_requires=getRequires(),
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
],
entry_points={
"console_scripts": [
"lumapps_api_client=lumapps_api_client.cli:main",
"lac=lumapps_api_client.cli:main",
]
},
)