mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-11-27 04:19:49 +01:00
Preparing v0.2, first release to PyPI
This commit is contained in:
parent
29c897bb56
commit
0d63128c40
2 changed files with 21 additions and 1 deletions
18
.travis.yml
18
.travis.yml
|
|
@ -13,3 +13,21 @@ script:
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.cache/pip
|
- $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
|
||||||
|
|
|
||||||
4
setup.py
4
setup.py
|
|
@ -2,6 +2,8 @@ from setuptools import setup, find_packages
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
VERSION = "0.2"
|
||||||
|
|
||||||
|
|
||||||
def get_long_description():
|
def get_long_description():
|
||||||
with io.open(
|
with io.open(
|
||||||
|
|
@ -17,7 +19,7 @@ setup(
|
||||||
long_description=get_long_description(),
|
long_description=get_long_description(),
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
author="Simon Willison",
|
author="Simon Willison",
|
||||||
version="0.2",
|
version=VERSION,
|
||||||
license="Apache License, Version 2.0",
|
license="Apache License, Version 2.0",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=["click==6.7"],
|
install_requires=["click==6.7"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue