Skip to content

Instantly share code, notes, and snippets.

@xnoder
Created January 13, 2017 11:20
Show Gist options
  • Save xnoder/47b5a58f1959d28ab6c5398c1b786ca4 to your computer and use it in GitHub Desktop.
Save xnoder/47b5a58f1959d28ab6c5398c1b786ca4 to your computer and use it in GitHub Desktop.
Falcon unit testing post on xnode.co.za
import imp
from os import path
from setuptools import find_packages, setup
VERSION = imp.load_source('version', path.join('.', 'samplex', 'version.py'))
VERSION = VERSION.__version__
REQUIRES = ['falcon>=1.1.0', 'bcrypt>=3.1.1', 'gunicorn>=19.6.0']
setup(
name='samplex',
version=VERSION,
description='API service',
# long_description=README,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Natural Language :: English',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: Application Framework',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='wsgi web api rest http cloud',
author='Paul Stevens',
author_email='ps@xnode.co.za',
url='https://xnode.co.za/',
license='MIT',
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
install_requires=REQUIRES,
setup_requires=[],
entry_points={
'console_scripts': [
'samplex = samplex.cmd.samplex:main',
]
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment