-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (40 loc) · 1.02 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
readme = open('README.md').read()
setup(
name='OCAPy',
version='0.2.1',
description='Python client implementing OVH RESTful API',
long_description=readme,
author='Pierre-Samuel Le Stang',
author_email='ps@lestang.fr',
url='https://github.com/pslestang/OCAPy',
packages=[
'OCAPy',
],
package_dir={'OCAPy': 'OCAPy'},
include_package_data=True,
install_requires=[
'requests>=1.0.0',
],
license="GPLv3",
zip_safe=False,
keywords='OCAPy',
classifiers=[
'Development Status :: 2 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPLv3',
'Natural Language :: English',
'Programming Language :: Python :: 2.7.5',
],
test_suite='tests',
)