-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated packaging/testing/documentation configuration
- Loading branch information
Showing
8 changed files
with
110 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type: sphinx | ||
python: | ||
version: "3.5" | ||
pip_install: true | ||
extra_requirements: [doc] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
Sphinx >= 1.5 | ||
sphinx_rtd_theme | ||
sphinx-autodoc-typehints >= 1.0.5 | ||
sphinxcontrib-asyncio >= 0.2.0 | ||
# This is for ReadTheDocs and can be removed once they upgrade to a newer setuptools release. | ||
setuptools >= 36.2.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,12 @@ | ||
from pathlib import Path | ||
|
||
from setuptools import setup | ||
|
||
setup( | ||
name='asphalt-wamp', | ||
use_scm_version={ | ||
'version_scheme': 'post-release', | ||
'local_scheme': 'dirty-tag' | ||
}, | ||
description='WAMP client component for the Asphalt framework', | ||
long_description=Path(__file__).with_name('README.rst').read_text('utf-8'), | ||
author='Alex Grönholm', | ||
author_email='alex.gronholm@nextday.fi', | ||
url='https://github.com/asphalt-framework/asphalt-wamp', | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Web Environment', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Topic :: Communications', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6' | ||
], | ||
license='Apache License 2.0', | ||
zip_safe=False, | ||
packages=[ | ||
'asphalt.wamp' | ||
], | ||
setup_requires=[ | ||
'setuptools >= 36.2.7', | ||
'setuptools_scm >= 1.7.0' | ||
], | ||
install_requires=[ | ||
'asphalt >= 3.0, < 5.0', | ||
'asphalt-serialization ~= 4.0', | ||
'autobahn >= 17.5.1', | ||
'typeguard ~= 2.0' | ||
], | ||
extras_require={ | ||
'testing': [ | ||
'cbor2', | ||
'msgpack-python', | ||
'pytest', | ||
'pytest-cov', | ||
'pytest-catchlog', | ||
'pytest-asyncio >= 0.5.0', | ||
] | ||
}, | ||
entry_points={ | ||
'asphalt.components': [ | ||
'wamp = asphalt.wamp.component:WAMPComponent' | ||
] | ||
} | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
[tox] | ||
envlist = py35, py36, flake8 | ||
|
||
[travis] | ||
python = | ||
3.5: py35, flake8, docs | ||
3.6: py36 | ||
envlist = py35, py36, pypy3, flake8 | ||
|
||
[testenv] | ||
extras = testing | ||
extras = test | ||
commands = python -m pytest {posargs} | ||
|
||
[testenv:docs] | ||
deps = -rdocs/requirements.txt | ||
extras = doc | ||
commands = python setup.py build_sphinx {posargs} | ||
usedevelop = true | ||
|
||
[testenv:flake8] | ||
deps = flake8 | ||
commands = flake8 asphalt tests | ||
skip_install = true | ||
|
||
[testenv:mypy] | ||
deps = mypy | ||
commands = mypy --ignore-missing-imports asphalt | ||
skip_install = true |