Preparing v0.2, first release to PyPI

This commit is contained in:
Simon Willison 2018-07-28 17:42:41 -07:00
commit 0d63128c40
2 changed files with 21 additions and 1 deletions

View file

@ -13,3 +13,21 @@ script:
cache:
directories:
- $HOME/.cache/pip
jobs:
include:
- stage: release tagged version
if: tag IS present
language: python
python: 3.6
script:
- pip install -U pip wheel
deploy:
- provider: pypi
user: simonw
distributions: bdist_wheel
password: ${PYPI_PASSWORD}
on:
branch: master
tags: true
repo: simonw/sqlite-utils

View file

@ -2,6 +2,8 @@ from setuptools import setup, find_packages
import io
import os
VERSION = "0.2"
def get_long_description():
with io.open(
@ -17,7 +19,7 @@ setup(
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Simon Willison",
version="0.2",
version=VERSION,
license="Apache License, Version 2.0",
packages=find_packages(),
install_requires=["click==6.7"],