2021-05-19 18:07:42 +02:00
|
|
|
#!/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',
|
2021-05-19 18:07:42 +02:00
|
|
|
'pylint',
|
|
|
|
],
|
2021-11-03 17:38:31 +01:00
|
|
|
'config': [
|
|
|
|
'configparser',
|
|
|
|
'argcomplete',
|
|
|
|
'keyring',
|
|
|
|
'systemd-python',
|
|
|
|
],
|
2021-06-23 12:52:44 +02:00
|
|
|
'ldap': [
|
|
|
|
'python-ldap',
|
|
|
|
'python-dateutil',
|
|
|
|
'pytz',
|
|
|
|
],
|
|
|
|
'email': [
|
|
|
|
'email3',
|
|
|
|
'mako',
|
|
|
|
],
|
|
|
|
'pgsql': [
|
|
|
|
'psycopg2',
|
|
|
|
],
|
2021-11-07 22:00:21 +01:00
|
|
|
'oracle': [
|
|
|
|
'cx_Oracle',
|
|
|
|
],
|
2021-06-23 12:52:44 +02:00
|
|
|
'mysql': [
|
|
|
|
'mysqlclient',
|
|
|
|
],
|
2021-05-19 18:07:42 +02:00
|
|
|
},
|
|
|
|
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',
|
2022-01-19 17:31:40 +01:00
|
|
|
'mylib-test-email-with-config = mylib.scripts.email_test_with_config:main',
|
2021-05-19 18:07:42 +02:00
|
|
|
'mylib-test-pbar = mylib.scripts.pbar_test:main',
|
|
|
|
'mylib-test-report = mylib.scripts.report_test:main',
|
|
|
|
'mylib-test-ldap = mylib.scripts.ldap_test:main',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
)
|