-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (27 loc) · 813 Bytes
/
setup.py
File metadata and controls
29 lines (27 loc) · 813 Bytes
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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = re.search(
r'__version__\s*=\s*[\'"]([^\'"]+)[\'"]',
open('wdmapper/wdmapper.py').read()
).group(1)
setup(
name='wdmapper',
version=version,
description='Wikidata authority file mapping tool',
author='Jakob Voß',
author_email='jakob.voss@gbv.de',
license='MIT',
url='http://github.com/gbv/wdmapper',
packages=find_packages(),
install_requires=['six'],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest-pep8', 'pytest-cov'],
download_url='https://github.com/gbv/wdmapper/tarball/' + version,
keywords=['wikidata', 'beacon', 'identifier'],
entry_points={
'console_scripts': [
'wdmapper=wdmapper.cli:main'
]
}
)