Jon Michael Aanes
26891f95e8
All checks were successful
Python Package / Package (push) Has been skipped
32 lines
776 B
Python
32 lines
776 B
Python
|
|
#!/usr/bin/env python
|
|
from setuptools import setup
|
|
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
|
|
|
|
setup(
|
|
name=PACKAGE_NAME,
|
|
version=version,
|
|
description='Extensions to wikidata library',
|
|
long_description=readme,
|
|
long_description_content_type='text/markdown',
|
|
author='Jmaa',
|
|
author_email='jonjmaa@gmail.com',
|
|
url='https://gitfub.space/Jmaa/'+PACKAGE_NAME,
|
|
packages=[PACKAGE_NAME],
|
|
install_requires=['requests', 'ratelimit', 'wikidata'],
|
|
keywords=[],
|
|
classifiers=[],
|
|
include_package_data=True,
|
|
zip_safe=False
|
|
)
|