#!/usr/bin/env python
import os
from setuptools import setup, find_packages

# ----------------------------------------------------------------------------
# Building
#
# Create source distribution:
# ./setup.py sdist
#
#
# Create binary distribution (non-univeral, python 3 only):
# ./setup.py bdist_wheel --python-tag=py3
#
# Register on PyPI:
# twine register dist/mypkg.whl
#
#
# Upload to PyPI:
# twine upload dist/*
#
# ----------------------------------------------------------------------------

# project version
version = '0.0.8'

# development status
# dev_status = '1 - Planning'
# dev_status = '2 - Pre-Alpha'
dev_status = '3 - Alpha'
# dev_status = '4 - Beta'
# dev_status = '5 - Production/Stable'
# dev_status = '6 - Mature'
# dev_status = '7 - Inactive'

# github repository url
repo = 'https://github.com/projectshift/shift-memory'
license_type = 'MIT License'

# monkey patch os for vagrant hardlinks
del os.link

# run setup
setup(**dict(

    # author
    author='<NAME>',
    author_email='<EMAIL>',

    # project meta
    name='shiftmemory',
    version=version,
    url=repo,
    download_url=repo + '/archive/v' + version + '.tar.gz',
    description='Python3 cache library',
    keywords=[
        'python3',
        'cache',
        'redis',
    ],

    # classifiers
    # see: https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[

        # maturity
        'Development Status :: ' + dev_status,

        # license
        'License :: OSI Approved :: ' + license_type,

        # audience
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',

        # pythons
        'Programming Language :: Python :: 3',

        # categories
        'Environment :: Console',
        'Environment :: Web Environment',
        'Topic :: Software Development :: Libraries',
        'Topic :: Utilities'
    ],

    # project packages
    packages=find_packages(exclude=['tests*']),

    # include none-code data files from manifest.in (http://goo.gl/Uf0Yxc)
    include_package_data=True,

    # project dependencies
    install_requires=[
        'click>=7.0,<8.0',
        'redis>=3.2.1,<4.0.0',
        'hiredis>=1.0.0,<2.0.0',
        'arrow>=0.13.1,<1.0.0'
    ],

    # entry points
    entry_points=dict(
        console_scripts=[
            'shiftmemory = shiftmemory.cli.console:cli'
        ]
    ),


    # project license
    license=license_type
))

#!/usr/bin/env python
import os
from setuptools import setup, find_packages

# ----------------------------------------------------------------------------
# Building
#
# Create source distribution:
# ./setup.py sdist
#
#
# Create binary distribution (non-univeral, python 3 only):
# ./setup.py bdist_wheel --python-tag=py3
#
# Register on PyPI:
# twine register dist/mypkg.whl
#
#
# Upload to PyPI:
# twine upload dist/*
#
# ----------------------------------------------------------------------------

# project version
version = '0.0.8'

# development status
# dev_status = '1 - Planning'
# dev_status = '2 - Pre-Alpha'
dev_status = '3 - Alpha'
# dev_status = '4 - Beta'
# dev_status = '5 - Production/Stable'
# dev_status = '6 - Mature'
# dev_status = '7 - Inactive'

# github repository url
repo = 'https://github.com/projectshift/shift-memory'
license_type = 'MIT License'

# monkey patch os for vagrant hardlinks
del os.link

# run setup
setup(**dict(

    # author
    author='<NAME>',
    author_email='<EMAIL>',

    # project meta
    name='shiftmemory',
    version=version,
    url=repo,
    download_url=repo + '/archive/v' + version + '.tar.gz',
    description='Python3 cache library',
    keywords=[
        'python3',
        'cache',
        'redis',
    ],

    # classifiers
    # see: https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[

        # maturity
        'Development Status :: ' + dev_status,

        # license
        'License :: OSI Approved :: ' + license_type,

        # audience
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',

        # pythons
        'Programming Language :: Python :: 3',

        # categories
        'Environment :: Console',
        'Environment :: Web Environment',
        'Topic :: Software Development :: Libraries',
        'Topic :: Utilities'
    ],

    # project packages
    packages=find_packages(exclude=['tests*']),

    # include none-code data files from manifest.in (http://goo.gl/Uf0Yxc)
    include_package_data=True,

    # project dependencies
    install_requires=[
        'click>=7.0,<8.0',
        'redis>=3.2.1,<4.0.0',
        'hiredis>=1.0.0,<2.0.0',
        'arrow>=0.13.1,<1.0.0'
    ],

    # entry points
    entry_points=dict(
        console_scripts=[
            'shiftmemory = shiftmemory.cli.console:cli'
        ]
    ),


    # project license
    license=license_type
))

#!/usr/bin/env python # ---------------------------------------------------------------------------- # Building # # Create source distribution: # ./setup.py sdist # # # Create binary distribution (non-univeral, python 3 only): # ./setup.py bdist_wheel --python-tag=py3 # # Register on PyPI: # twine register dist/mypkg.whl # # # Upload to PyPI: # twine upload dist/* # # ---------------------------------------------------------------------------- # project version # development status # dev_status = '1 - Planning' # dev_status = '2 - Pre-Alpha' # dev_status = '4 - Beta' # dev_status = '5 - Production/Stable' # dev_status = '6 - Mature' # dev_status = '7 - Inactive' # github repository url # monkey patch os for vagrant hardlinks # run setup # author # project meta # classifiers # see: https://pypi.python.org/pypi?%3Aaction=list_classifiers # maturity # license # audience # pythons # categories # project packages # include none-code data files from manifest.in (http://goo.gl/Uf0Yxc) # project dependencies # entry points # project license