Skip to content

Instantly share code, notes, and snippets.

@agronholm
Created September 4, 2017 22:24
Show Gist options
  • Save agronholm/c660e9a02b94632aed06085fc01c3478 to your computer and use it in GitHub Desktop.
Save agronholm/c660e9a02b94632aed06085fc01c3478 to your computer and use it in GitHub Desktop.
wampproto's packaging configuration
[metadata]
name = wampproto
description = WAMP (Web Application Message Protocol) state-machine based protocol implementation
long_description = file: README.rst
author = Alex Grönholm
author_email = [email protected]
url = https://github.com/agronholm/wampproto
license = MIT
license_file = LICENSE
keywords = wamp, websockets
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
[options]
packages = find:
install_requires =
attrs >= 17.2
six >= 1.10
wsproto >= 0.10
[options.extras_require]
msgpack =
msgpack-python; implementation_name == "cpython"
u-msgpack-python; implementation_name != "cpython"
cbor = cbor
ubjson = py-ubjson
test =
pytest >= 3
pytest-cov
autobahn
examples =
aiohttp >= 2.2
trio
[tool:pytest]
addopts = -rsx --cov --tb=short
testpaths = tests
[coverage:run]
source = wampproto
branch = 1
[coverage:report]
show_missing = true
[flake8]
max-line-length = 99
ignore = F403,F405
exclude = .tox,build,docs
[bdist_wheel]
universal = 1
from setuptools import setup
setup(
use_scm_version={
'version_scheme': 'post-release',
'local_scheme': 'dirty-tag'
},
setup_requires=[
'setuptools >= 36.2.7',
'setuptools_scm'
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment