From ec02b29b9adff1f16d5fa787b05eeb75c6f330bb Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Wed, 24 Jul 2019 13:10:27 -0600 Subject: [PATCH] Add drone and classifiers --- .drone.yml | 19 +++++++++++++++++-- setup.py | 10 +++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7f6f160..710ae4a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -92,11 +92,26 @@ steps: password: from_secret: DOCKER_PASSWORD repo: shouptech/humulus - tags: - - ${DRONE_TAG} + auto_tag: true when: event: - tag +- name: pypi-release + image: python:3.6 + environment: + TWINE_USERNAME: + from_secret: TWINE_USERNAME + TWINE_PASSWORD: + from_secret: TWINE_PASSWORD + commands: + - pip install twine + - python setup.py sdist bdist_wheel + - twine upload dist/* + when: + event: + - tag + + depends_on: - test diff --git a/setup.py b/setup.py index fedec49..d0f0bfc 100644 --- a/setup.py +++ b/setup.py @@ -50,5 +50,13 @@ setup( install_requires=install_requires, setup_requires=install_requires + ["pytest-runner"], tests_require=["pytest"], - classifiers=[], + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Environment :: Web Environment", + "Framework :: Flask", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3", + "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", + ], )