|
4 | 4 | Magento API |
5 | 5 |
|
6 | 6 | :copyright: (c) 2010 by Sharoon Thomas. |
7 | | - :copyright: (c) 2010 by Openlabs Technologies & Consulting (P) LTD |
| 7 | + :copyright: (c) 2010-2013 by Openlabs Technologies & Consulting (P) LTD |
8 | 8 | :license: AGPLv3, see LICENSE for more details |
9 | 9 |
|
10 | | - A simple to use python library to access the magento API and |
11 | | - covered by a complete test suite based on Nose tests. Also |
12 | | - includes a nose plugin to do the tests based on a config |
13 | | - file. |
14 | | -
|
15 | | - Example usage:: |
16 | | - |
17 | | - from magento import Customer |
18 | | - url = 'http://yourmagento.com' |
19 | | - apiuser = 'apiusername' |
20 | | - apipass = 'password' |
21 | | - with Customer(url, apiuser, apipass) as customer_api: |
22 | | - customer_api.list() |
23 | | -
|
24 | | - The implemented methods and APIs are from the Core API of |
25 | | - magento documented here: |
26 | | - |
27 | | - http://www.magentocommerce.com/support/magento_core_api |
28 | | -
|
29 | 10 | ''' |
| 11 | +import os |
30 | 12 | from setuptools import setup |
31 | | -import magento |
| 13 | + |
| 14 | +execfile(os.path.join('magento', 'version.py')) |
32 | 15 |
|
33 | 16 | setup( |
34 | 17 | name = 'magento', |
35 | | - version=magento.__version__, |
36 | | - url='http://projects.openlabs.co.in/trac/openlabs_magento', |
| 18 | + version=VERSION, |
| 19 | + url='https://github.com/openlabs/magento/', |
37 | 20 | license='GNU Affero General Public License v3', |
38 | 21 | author='Sharoon Thomas, Openlabs Technologies', |
39 | 22 | author_email='info@openlabs.co.in', |
40 | 23 | description='Magento Core API Client', |
41 | | - long_description=__doc__, |
| 24 | + long_description=open('README.rst').read(), |
42 | 25 | packages=['magento'], |
43 | 26 | zip_safe=False, |
44 | 27 | platforms='any', |
45 | 28 | install_requires=[ |
46 | 29 | 'suds>=0.3.9', |
47 | 30 | ], |
48 | 31 | classifiers=[ |
49 | | - 'Development Status :: 4 - Beta', |
| 32 | + 'Development Status :: 6 - Mature', |
50 | 33 | 'Environment :: Web Environment', |
51 | 34 | 'Intended Audience :: Developers', |
52 | 35 | 'License :: OSI Approved :: GNU Affero General Public License v3', |
|
0 commit comments