forked from mloesch/sickle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (39 loc) · 1.16 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
# coding: utf-8
"""
Sickle
~~~~~~
Sickle is a lightweight OAI client library for Python.
Using Sickle
------------
>>> from sickle import Sickle
>>> client = Sickle('http://elis.da.ulcc.ac.uk/cgi/oai2')
>>> records = client.ListRecords(metadataPrefix='oai_dc')
Sickle provides a convenient way for iterating through all records of a repository:
>>> records.next()
<Record ...>
"""
from setuptools import setup, find_packages
setup(
name='Sickle',
version='0.2',
url='http://github.com/mloesch/sickle',
license='BSD',
author='Mathias Loesch',
author_email='[email protected]',
description='A lightweight OAI client library for Python',
long_description=__doc__,
packages=['sickle'],
platforms='any',
install_requires=[
'requests>=1.1.0',
'lxml',
],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Text Processing :: Markup :: XML',
],
zip_safe=False,
)