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',
|
|
|
|
'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',
|
|
|
|
],
|
|
|
|
'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',
|
|
|
|
'mylib-test-pbar = mylib.scripts.pbar_test:main',
|
|
|
|
'mylib-test-report = mylib.scripts.report_test:main',
|
|
|
|
'mylib-test-ldap = mylib.scripts.ldap_test:main',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
)
|