from setuptools import setup

datafiles = [('/etc', ['general_conf/bck.conf'])]

setup(
    name='mysql-autoxtrabackup',
    version='1.1',
    packages=['general_conf', 'backup_prepare', 'partial_recovery', 'master_backup_script'],
    py_modules = ['autoxtrabackup'],
    url='https://github.com/ShahriyarR/MySQL-AutoXtraBackup',
    license='GPL',
    author='Shahriyar Rzayev',
    author_email='rzayev.shahriyar@yandex.com',
    description='Commandline tool written in Python 3 for using Percona Xtrabackup',
    install_requires=[
        'click>=3.3',
        'mysql-connector>=2.0.2',
    ],
    dependency_links = ['https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-2.1.3.tar.gz'],
    entry_points='''
        [console_scripts]
        autoxtrabackup=autoxtrabackup:all_procedure
    ''',
    data_files = datafiles,
)
from setuptools import setup

datafiles = [('//etc', ['general_conf/bck.conf'])]

setup(
    name='mysql-autoxtrabackup',
    version='1.1',
    packages=['general_conf', 'backup_prepare', 'partial_recovery', 'master_backup_script'],
    py_modules = ['autoxtrabackup'],
    url='https://github.com/ShahriyarR/MySQL-AutoXtraBackup',
    license='GPL',
    author='Shahriyar Rzayev',
    author_email='rzayev.shahriyar@yandex.com',
    description='Commandline tool written in Python 3 for using Percona Xtrabackup',
    install_requires=[
        'click>=3.3',
        'mysql-connector>=2.0.2',
    ],
    dependency_links = ['https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-2.1.3.tar.gz'],
    entry_points='''
        [console_scripts]
        autoxtrabackup=autoxtrabackup:all_procedure
    ''',
    data_files = datafiles,
)
Set install datafile to root
Set install datafile to root
