forked from amigocloud/python-amigocloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (25 loc) · 789 Bytes
/
Copy pathsetup.py
File metadata and controls
32 lines (25 loc) · 789 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
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
with open('requirements.txt', 'r') as r:
requires = r.read().split()
with open('README.rst', 'r') as r:
readme = r.read()
download_url = 'https://github.com/amigocloud/python-amigocloud/tarball/%s'
setup(
name='amigocloud',
packages=['amigocloud'],
version=version,
description='Python client for the AmigoCloud REST API',
long_description=readme,
author='Julio M Alegria',
author_email='julio@amigocloud.com',
url='https://github.com/amigocloud/python-amigocloud',
download_url=download_url % version,
install_requires=requires,
license='MIT'
)