-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (38 loc) · 1.41 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
# -*- coding: utf-8 -*-
from codecs import open
from setuptools import setup, find_packages
import re
with open('museumpy/__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='museumpy',
packages=find_packages(),
version=version,
install_requires=['requests', 'defusedxml', 'xmltodict'],
description='Client for MuseumPlus',
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/museumpy',
download_url='https://github.com/metaodi/museumpy/archive/v%s.zip' % version,
keywords=['museumplus', 'glam', 'museum', 'zetcom'],
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
python_requires='>=3.6'
)