Repository URL to install this package:
|
Version:
0.24.4 ▾
|
hub-client
/
setup.py
|
|---|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import dockerhub
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = dockerhub.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (version, version))
print(" git push --tags")
sys.exit()
here = os.path.dirname(__file__)
readme = open(os.path.join(here, 'README.rst')).read()
history = open(os.path.join(here, 'HISTORY.rst')).read().replace('.. :changelog:', '')
setup(
name='hub-client',
version=version,
description="""Python client for docker hub""",
long_description=readme + '\n\n' + history,
author='Docker Hub',
author_email='saas@docker.com',
url='https://github.com/docker/hub-client',
packages=[
'dockerhub',
],
include_package_data=True,
install_requires=[
'python-json-logger>=0.1.2',
'statsd',
'guppy',
],
license="BSD",
zip_safe=False,
keywords='hub-client',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
)