-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (45 loc) · 1.57 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
50
51
52
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from wikidata_dl import __author__, __email__, __version__
with open('README.md') as readme_file:
readme = readme_file.read()
requirements = ['python-dateutil', 'requests', 'wptools']
setup_requirements = ['pytest-runner']
test_requirements = ['pytest>=3']
setup(
author=__author__,
author_email=__email__,
python_requires='>=3.5',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description='Download data from Wikidata based on input SPARQL query.',
entry_points={
'console_scripts': [
'wikidata-dl=wikidata_dl.cli:main',
],
},
install_requires=requirements,
license='MIT license',
long_description=readme,
long_description_content_type='text/markdown',
include_package_data=True,
keywords='wikidata, download, dl, command line, cli, sparql',
name='wikidata_dl',
packages=find_packages(include=['wikidata_dl', 'wikidata_dl.*']),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/yaph/wikidata-dl',
version=__version__,
zip_safe=False,
)