initial commit
commit
6d26f563e5
@ -0,0 +1,62 @@
|
||||
# Pycharm
|
||||
.idea
|
||||
|
||||
# ---> Python
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
env/
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*,cover
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
@ -0,0 +1,5 @@
|
||||
"""Top-level package for apistar-redis."""
|
||||
|
||||
__author__ = """Drew Bednar"""
|
||||
__email__ = 'drew@androiddrew.com'
|
||||
__version__ = '0.1.0'
|
@ -0,0 +1,3 @@
|
||||
import redis
|
||||
|
||||
from apistar import Command, Component, Settings
|
@ -0,0 +1,50 @@
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
|
||||
with open('README.md') as readme_file:
|
||||
readme = readme_file.read()
|
||||
|
||||
with open('HISTORY.md') as history_file:
|
||||
history = history_file.read()
|
||||
|
||||
requirements = [
|
||||
'apistar',
|
||||
'redis',
|
||||
]
|
||||
|
||||
setup_requirements = [
|
||||
'pytest-runner',
|
||||
]
|
||||
|
||||
test_requirements = [
|
||||
'pytest',
|
||||
'coverage',
|
||||
]
|
||||
|
||||
setup(
|
||||
name='apistar_redis',
|
||||
version='0.1.0',
|
||||
description="A Redis backend Component for Apistar",
|
||||
long_description=readme + '\n\n' + history,
|
||||
author="Drew Bednar",
|
||||
author_email='drew@androiddrew.com',
|
||||
url='https://github.com/androiddrew/apistar-redis',
|
||||
packages=find_packages(include=['apistar_redis']),
|
||||
include_package_data=True,
|
||||
install_requires=requirements,
|
||||
license="MIT license",
|
||||
zip_safe=False,
|
||||
keywords='apistar_redis',
|
||||
classifiers=[
|
||||
'Development Status :: 2 - Pre-Alpha',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Natural Language :: English',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
],
|
||||
test_suite='tests',
|
||||
tests_require=test_requirements,
|
||||
setup_requires=setup_requirements,
|
||||
)
|
Loading…
Reference in New Issue