2024-02-17 10:32:48 +00:00
|
|
|
#!/usr/bin/env python
|
2023-12-03 21:04:16 +00:00
|
|
|
from setuptools import setup
|
2024-02-17 10:32:48 +00:00
|
|
|
import re
|
|
|
|
|
|
|
|
PACKAGE_NAME = 'socials_util'
|
|
|
|
|
|
|
|
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 21:04:16 +00:00
|
|
|
|
|
|
|
setup(
|
2024-02-17 10:32:48 +00:00
|
|
|
name=PACKAGE_NAME,
|
|
|
|
version=version,
|
|
|
|
long_description=readme,
|
|
|
|
long_description_content_type='text/markdown',
|
2023-12-03 21:16:25 +00:00
|
|
|
author='Jmaa',
|
|
|
|
author_email='jonjmaa@gmail.com',
|
|
|
|
url='https://gitfub.space/Jmaa/socials-util',
|
2024-02-17 10:32:48 +00:00
|
|
|
packages=[PACKAGE_NAME],
|
2023-12-19 22:08:54 +00:00
|
|
|
install_requires=['enforce-typing', 'aenum'],
|
2023-12-03 21:04:16 +00:00
|
|
|
keywords=[],
|
|
|
|
classifiers=[],
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False
|
|
|
|
)
|