forked from prestapyt/prestapyt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (40 loc) · 1.35 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
48
49
50
#!/usr/bin/env python
"""
Prestapyt
:copyright: (c) 2011-2013 Guewen Baconnier
:copyright: (c) 2011 Camptocamp SA
:license: AGPLv3, see LICENSE for more details
"""
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
with open('prestapyt/version.py') as f:
# execute the file so __version__ is in the current scope
exec(f.read())
setup(
# Basic package information.
name = 'prestapyt',
version = __version__,
# Packaging options.
include_package_data = True,
# Package dependencies.
install_requires = ['requests','future'],
# Metadata for PyPI.
author = 'Guewen Baconnier',
author_email = 'guewen.baconnier@gmail.com',
license = 'GNU AGPL-3',
url = 'http://github.com/guewen/prestapyt',
packages=['prestapyt'],
keywords = 'prestashop api client rest',
description = 'A library to access Prestashop Web Service from Python.',
long_description = read('README.md'),
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Internet'
]
)