Skip to content

Commit

Permalink
Upgraded the packaging configuration for the new pip and PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Jun 3, 2018
1 parent 0ab7ae4 commit 05c748e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: python
sudo: false
cache: pip

stages:
- name: test
Expand All @@ -15,7 +16,6 @@ jobs:
python: "3.6"

- env: TOXENV=pypy3
cache: pip
python: pypy3

- env: TOXENV=py35
Expand All @@ -28,7 +28,7 @@ jobs:
after_success: *after_success

- stage: deploy to pypi
install: pip install "setuptools >= 36.2.7"
install: pip install "pip >= 10"
script: skip
deploy:
provider: pypi
Expand All @@ -42,7 +42,7 @@ jobs:
python: "3.5.2"

install:
- pip install "setuptools >= 36.2.7"
- pip install "pip >= 10"
- pip install tox

script: tox
Expand Down
12 changes: 3 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
.. image:: https://coveralls.io/repos/github/asphalt-framework/asphalt/badge.svg?branch=master
:target: https://coveralls.io/github/asphalt-framework/asphalt?branch=master
:alt: Code Coverage
.. image:: https://readthedocs.org/projects/asphalt/badge/?version=latest
:target: https://asphalt.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Asphalt is an asyncio_ based microframework for network oriented applications.

Expand Down Expand Up @@ -36,12 +39,3 @@ with relatively little effort.
.. _tokio: https://github.com/PyO3/tokio
.. _Type hints: https://www.python.org/dev/peps/pep-0484/
.. _semantic versioning: http://semver.org/

Project links
-------------

* `Component projects <https://github.com/asphalt-framework>`_
* `Documentation <http://asphalt.readthedocs.org/en/latest/>`_
* `Help and support <https://github.com/asphalt-framework/asphalt/wiki/Help-and-support>`_
* `Source code <https://github.com/asphalt-framework/asphalt>`_
* `Issue tracker <https://github.com/asphalt-framework/asphalt/issues>`_
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools >= 36.2.7", "wheel", "setuptools_scm >= 1.7.0"]
12 changes: 7 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ description = A microframework for network oriented applications
long_description = file: README.rst
author = Alex Grönholm
author_email = alex.gronholm@nextday.fi
url = https://github.com/asphalt-framework/asphalt
project_urls =
Component projects = https://github.com/asphalt-framework>
Documentation = http://asphalt.readthedocs.org/en/latest/
Help and support = https://github.com/asphalt-framework/asphalt/wiki/Help-and-support
Source code = https://github.com/asphalt-framework/asphalt
Issue tracker = https://github.com/asphalt-framework/asphalt/issues
license = Apache License 2.0
license_file = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Topic :: Software Development :: Libraries :: Application Frameworks
Framework :: AsyncIO
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.5
Expand Down Expand Up @@ -50,10 +56,6 @@ asphalt.core.event_loop_policies =
uvloop = uvloop:EventLoopPolicy [uvloop]
tokio = tokio:TokioLoopPolicy [tokio]

[build_sphinx]
source-dir = docs
build-dir = docs/_build

[tool:pytest]
addopts = -rsx --cov --tb=short
testpaths = tests
Expand Down

0 comments on commit 05c748e

Please sign in to comment.