#!/usr/bin/env python

# This work was created by participants in the DataONE project, and is
# jointly copyrighted by participating institutions in DataONE. For
# more information on DataONE, see our web site at http://dataone.org.
#
#   Copyright 2013 DataONE
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""DataONE developer tools package."""
import sys

import setuptools


def main():
    setuptools.setup(
        name='dataone.dev',
        version='3.4.0',
        description='DataONE developer tools',
        author='DataONE Project',
        author_email='developers@dataone.org',
        url='https://github.com/DataONEorg/d1_dev',
        license='Apache License, Version 2.0',
        packages=setuptools.find_packages(),
        include_package_data=True,
        exclude_package_data={'': ['settings.py']},
        install_requires=[
            # These are not yet available when bootstrapping on Travis
            #'dataone.cli == 2.3.0rc1',
            #'dataone.common == 2.3.0rc1',
            #'dataone.libclient == 2.3.0rc1',
            #
            # This is a hack to force a version of idna that is compatible with both
            # asn1crypto and requests. Without this, if asn1crypto is installed first,
            # it will install idna 2.6, and requests will fails due to the fact that
            # Python doesn't have a real package manager.
            # 'idna == 2.6',
            #
            'baron >= 0.9',
            'pip >= 19.0.3',
            'redbaron >= 0.9.2',
        ],
        setup_requires=['setuptools_git >= 1.1'],
        classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Intended Audience :: Developers',
            'Topic :: Scientific/Engineering',
            'License :: OSI Approved :: Apache Software License',
            'Programming Language :: Python :: 3',
            'Programming Language :: Python :: 3.6',
        ],
        keywords='DataONE python',
    )


if __name__ == '__main__':
    sys.exit(main())

#!/usr/bin/env python

# This work was created by participants in the DataONE project, and is
# jointly copyrighted by participating institutions in DataONE. For
# more information on DataONE, see our web site at http://dataone.org.
#
#   Copyright 2013 DataONE
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""DataONE developer tools package."""
import sys

import setuptools


def main():
    setuptools.setup(
        name='dataone.dev',
        version='3.4.0',
        description='DataONE developer tools',
        author='DataONE Project',
        author_email='developers@dataone.org',
        url='https://github.com/DataONEorg/d1_dev',
        license='Apache License, Version 2.0',
        packages=setuptools.find_packages(),
        include_package_data=True,
        exclude_package_data={'': ['settings.py']},
        install_requires=[
            # These are not yet available when bootstrapping on Travis
            #'dataone.cli == 2.3.0rc1',
            #'dataone.common == 2.3.0rc1',
            #'dataone.libclient == 2.3.0rc1',
            #
            # This is a hack to force a version of idna that is compatible with both
            # asn1crypto and requests. Without this, if asn1crypto is installed first,
            # it will install idna 2.6, and requests will fails due to the fact that
            # Python doesn't have a real package manager.
            # 'idna == 2.6',
            #
            'baron >= 0.9',
            'pip >= 19.0.3',
            'redbaron >= 0.9.2',
            'python-xlib',
        ],
        setup_requires=['setuptools_git >= 1.1'],
        classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Intended Audience :: Developers',
            'Topic :: Scientific/Engineering',
            'License :: OSI Approved :: Apache Software License',
            'Programming Language :: Python :: 3',
            'Programming Language :: Python :: 3.6',
        ],
        keywords='DataONE python',
    )


if __name__ == '__main__':
    sys.exit(main())

Add python-xlib as dependency