forked from zikzakmedia/python-magento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (50 loc) · 1.78 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
51
52
53
54
55
56
57
58
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
Magento API
:copyright: (c) 2010 by Sharoon Thomas.
:copyright: (c) 2010 by Openlabs Technologies & Consulting (P) LTD
:license: AGPLv3, see LICENSE for more details
A simple to use python library to access the magento API and
covered by a complete test suite based on Nose tests. Also
includes a nose plugin to do the tests based on a config
file.
Example usage::
from magento import Customer
url = 'http://yourmagento.com'
apiuser = 'apiusername'
apipass = 'password'
with Customer(url, apiuser, apipass) as customer_api:
customer_api.list()
The implemented methods and APIs are from the Core API of
magento documented here:
http://www.magentocommerce.com/support/magento_core_api
'''
from setuptools import setup
import magento
setup(
name = 'magento',
version=magento.__version__,
url='http://projects.openlabs.co.in/trac/openlabs_magento',
license='GNU Affero General Public License v3',
author='Sharoon Thomas, Openlabs Technologies',
author_email='info@openlabs.co.in',
description='Magento E-Commerce Integration',
long_description=__doc__,
packages=['magento'],
zip_safe=False,
platforms='any',
install_requires=[
'suds>=0.3.9',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)