2024-02-17 10:46:07 +00:00
|
|
|
|
|
|
|
#!/usr/bin/env python
|
2023-12-03 22:23:58 +00:00
|
|
|
from setuptools import setup
|
2024-02-17 10:46:07 +00:00
|
|
|
import re
|
|
|
|
|
|
|
|
PACKAGE_NAME = 'datagraph'
|
|
|
|
|
|
|
|
with open('README.md', 'r') as f:
|
|
|
|
readme = f.read()
|
|
|
|
|
|
|
|
with open(PACKAGE_NAME+'/_version.py', 'r') as f:
|
|
|
|
match = re.match(r'^__version__\s*=\s*"([\d\.]+)"$', f.read())
|
|
|
|
version = match.group(1)
|
|
|
|
del match
|
2023-12-03 22:23:58 +00:00
|
|
|
|
|
|
|
setup(
|
2024-02-17 10:46:07 +00:00
|
|
|
name=PACKAGE_NAME,
|
|
|
|
version=version,
|
2023-12-03 22:23:58 +00:00
|
|
|
description='Extensions to wikidata library',
|
2024-02-17 10:46:07 +00:00
|
|
|
long_description=readme,
|
|
|
|
long_description_content_type='text/markdown',
|
2023-12-03 22:23:58 +00:00
|
|
|
author='Jmaa',
|
|
|
|
author_email='jonjmaa@gmail.com',
|
2024-02-17 10:46:07 +00:00
|
|
|
url='https://gitfub.space/Jmaa/'+PACKAGE_NAME,
|
|
|
|
packages=[PACKAGE_NAME],
|
2023-12-03 22:23:58 +00:00
|
|
|
install_requires=['requests', 'ratelimit', 'wikidata'],
|
|
|
|
keywords=[],
|
|
|
|
classifiers=[],
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False
|
|
|
|
)
|