python-mylib/setup.py

71 lines
1.7 KiB
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
setup(
name="mylib",
version='0.0',
long_description=README,
classifiers=[
'Programming Language :: Python',
],
install_requires=[
'progressbar',
],
extras_require={
'dev': [
'pytest',
2021-11-07 21:57:58 +01:00
'mocker',
'pytest-mock',
'pylint',
],
2021-11-03 17:38:31 +01:00
'config': [
'configparser',
'argcomplete',
'keyring',
'systemd-python',
],
'ldap': [
'python-ldap',
'python-dateutil',
'pytz',
],
'email': [
'email3',
'mako',
],
'pgsql': [
'psycopg2',
],
'oracle': [
'cx_Oracle',
],
'mysql': [
'mysqlclient',
],
},
author='Benjamin Renard',
author_email='brenard@zionetrix.net',
url='https://gogs.zionetrix.net/bn8/python-mylib',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'mylib-test-email = mylib.scripts.email_test:main',
'mylib-test-email-with-config = mylib.scripts.email_test_with_config:main',
'mylib-test-pbar = mylib.scripts.pbar_test:main',
'mylib-test-report = mylib.scripts.report_test:main',
'mylib-test-ldap = mylib.scripts.ldap_test:main',
],
},
)