-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
45 lines (40 loc) · 1.52 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
# -*- coding: utf-8 -*-
from codecs import open
from setuptools import setup, find_packages
import re
with open('sruthi/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
with open('README.md', 'r', encoding="utf-8") as f:
long_description = f.read()
setup(
name='sruthi',
packages=find_packages(),
version=version,
install_requires=['requests', 'defusedxml', 'xmltodict', 'flatten-dict'],
description='SRU client for Python',
long_description=long_description,
long_description_content_type='text/markdown',
author='Stefan Oderbolz',
author_email='[email protected]',
maintainer='Stefan Oderbolz',
maintainer_email='[email protected]',
url='https://github.com/metaodi/sruthi',
download_url='https://github.com/metaodi/sruthi/archive/v%s.zip' % version,
keywords=['sru', 'search', 'retrieve', 'archive', 'library'],
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
python_requires='>=3.7'
)