37 lines
992 B
Python
37 lines
992 B
Python
|
#!/usr/bin/env python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from setuptools import setup, find_packages
|
||
|
import re
|
||
|
import os
|
||
|
import sys
|
||
|
|
||
|
|
||
|
if sys.argv[-1] == 'publish':
|
||
|
os.system("python setup.py sdist upload")
|
||
|
args = {'version': version}
|
||
|
print "You probably want to also tag the version now:"
|
||
|
print " git tag -a %(version)s -m 'version %(version)s'" % args
|
||
|
print " git push --tags"
|
||
|
sys.exit()
|
||
|
|
||
|
|
||
|
setup(
|
||
|
name='python-yubikey',
|
||
|
version='0.1.0',
|
||
|
url='http://github.com/fmartingr/python-yubikey',
|
||
|
license='GPLv2',
|
||
|
description='Simple Yubico API Wrappers',
|
||
|
author='Felipe Martin',
|
||
|
author_email='fmartingr@me.com',
|
||
|
py_modules=['yubikey'],
|
||
|
include_package_data=True,
|
||
|
zip_safe=False,
|
||
|
install_requires=open('requirements.txt').read().split('\n'),
|
||
|
classifiers=[
|
||
|
'Development Status :: 3 - Alpha',
|
||
|
'Intended Audience :: Developers',
|
||
|
'Operating System :: OS Independent',
|
||
|
'Programming Language :: Python',
|
||
|
]
|
||
|
)
|