shortenit/setup.py
Elia el Lazkani b2ca72a809 chore(): Updates code to run on latest python
* Updates setup.py to use the markdown file
* Replaces load() with safe_load()
2022-06-17 22:14:36 +02:00

49 lines
1.6 KiB
Python

from pathlib import Path
from setuptools import setup
#<link rel=stylesheet type=text/css href="{{ url('static', filename='css/custom.css') }}">
here = Path(__file__).absolute().parent
with open(str(here.joinpath('README.md')), encoding='utf-8') as f:
long_description = f.read()
with open(str(here.joinpath('requirements/requirements.txt')),
encoding='utf-8') as f:
install_requires = f.read()
description = 'Shortenit will shorten that url for you'
setup(
name='shortenit',
exclude_package_data={'': ['.gitignore', 'requirements/', 'setup.py']},
version_format='{gitsha}',
setup_requires=['setuptools-git', 'setuptools-git-version'],
license='BSD',
author='Elia El Lazkani',
author_email='eliaellazkani@gmail.com',
url='https://gitlab.com/elazkani/shortenit',
python_requires='>=python3.6',
description=description,
long_description=long_description,
install_requires=install_requires,
entry_points={
'console_scripts': [
'shortenit = shortenit.main:main'
]
},
packages=['shortenit'],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.10',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators'
],
zip_safe=False
)