Prepare for inevitable distribution.
This commit is contained in:
7
HISTORY.rst
Normal file
7
HISTORY.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
History
|
||||
=======
|
||||
|
||||
0.1: xxxx-xx-xx
|
||||
---------------
|
||||
|
||||
- Initial Release
|
||||
4
MANIFEST.in
Normal file
4
MANIFEST.in
Normal file
@@ -0,0 +1,4 @@
|
||||
include README.rst
|
||||
include LICENSE
|
||||
include HISTORY.rst
|
||||
include AUTHORS
|
||||
4
README.rst
Normal file
4
README.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
requests-kerberos
|
||||
=================
|
||||
|
||||
A Kerberos authentication handler with Python Requests.
|
||||
@@ -1,3 +1,4 @@
|
||||
from .kerberos import HTTPKerberosAuth
|
||||
|
||||
__all__ = [HTTPKerberosAuth]
|
||||
__version__ = '0.1'
|
||||
|
||||
33
setup.py
33
setup.py
@@ -1,9 +1,34 @@
|
||||
#!/usr/bin/env python
|
||||
# coding: utf-8
|
||||
|
||||
import os
|
||||
from setuptools import setup
|
||||
|
||||
version_file = 'requests_kerberos/__init__.py'
|
||||
exec(compile(open(version_file).read(), version_file, 'exec'))
|
||||
|
||||
requires = ['kerberos', 'requests']
|
||||
|
||||
path = os.path.dirname(__file__)
|
||||
desc_fd = os.path.join(path, 'README.rst')
|
||||
hist_fd = os.path.join(path, 'HISTORY.rst')
|
||||
|
||||
long_desc = ''
|
||||
short_desc = 'A Kerberos authentication handler for python-requests'
|
||||
|
||||
if os.path.isfile(desc_fd):
|
||||
long_desc = open(desc_fd).read()
|
||||
|
||||
if os.path.isfile(hist_fd):
|
||||
long_desc = '\n\n'.join(long_desc, open(hist_fd).read())
|
||||
|
||||
setup(
|
||||
name='requests_kerberos'
|
||||
packages=['requests_kerberos']
|
||||
)
|
||||
name='requests-kerberos',
|
||||
description=short_desc,
|
||||
long_description=long_desc,
|
||||
url='https://github.com/requests/requests-kerberos',
|
||||
packages=['requests_kerberos'],
|
||||
package_data={'': ['LICENSE', 'AUTHORS']},
|
||||
include_package_data=True,
|
||||
version=__version__, # NOQA
|
||||
install_requires=requires,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user