Merge with latest skeleton
This commit is contained in:
commit
4366902589
|
@ -8,3 +8,12 @@ python:
|
||||||
script:
|
script:
|
||||||
- pip install -U pytest
|
- pip install -U pytest
|
||||||
- python setup.py test
|
- python setup.py test
|
||||||
|
deploy:
|
||||||
|
provider: pypi
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
all_branches: true
|
||||||
|
python: 3.5
|
||||||
|
user: jaraco
|
||||||
|
# supply password with `travis encrypt --add deploy.password`
|
||||||
|
distributions: release
|
||||||
|
|
20
docs/conf.py
20
docs/conf.py
|
@ -5,6 +5,7 @@ import setuptools_scm
|
||||||
|
|
||||||
extensions = [
|
extensions = [
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
|
'rst.linker',
|
||||||
]
|
]
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
|
@ -17,3 +18,22 @@ version = setuptools_scm.get_version(root='..', relative_to=__file__)
|
||||||
release = version
|
release = version
|
||||||
|
|
||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
|
link_files = {
|
||||||
|
'CHANGES.rst': dict(
|
||||||
|
using=dict(
|
||||||
|
GH='https://github.com',
|
||||||
|
project=project,
|
||||||
|
),
|
||||||
|
replace=[
|
||||||
|
dict(
|
||||||
|
pattern=r"(Issue )?#(?P<issue>\d+)",
|
||||||
|
url='{GH}/jaraco/{project}/issues/{issue}',
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
|
||||||
|
with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
}
|
||||||
|
|
|
@ -5,4 +5,4 @@
|
||||||
History
|
History
|
||||||
*******
|
*******
|
||||||
|
|
||||||
.. include:: ../CHANGES.rst
|
.. include:: ../CHANGES (links).rst
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[aliases]
|
[aliases]
|
||||||
release = sdist bdist_wheel build_sphinx upload upload_docs
|
release = clean --all sdist bdist_wheel build_sphinx upload upload_docs
|
||||||
test = pytest
|
test = pytest
|
||||||
|
|
||||||
[wheel]
|
[wheel]
|
||||||
|
|
16
setup.py
16
setup.py
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# Generated by jaraco.develop 2.27.1
|
|
||||||
# https://pypi.python.org/pypi/jaraco.develop
|
# Project skeleton maintained at https://github.com/jaraco/skeleton
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import sys
|
import sys
|
||||||
|
@ -13,20 +13,24 @@ with io.open('README.rst', encoding='utf-8') as readme:
|
||||||
needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
|
needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
|
||||||
pytest_runner = ['pytest_runner'] if needs_pytest else []
|
pytest_runner = ['pytest_runner'] if needs_pytest else []
|
||||||
needs_sphinx = {'release', 'build_sphinx', 'upload_docs'}.intersection(sys.argv)
|
needs_sphinx = {'release', 'build_sphinx', 'upload_docs'}.intersection(sys.argv)
|
||||||
sphinx = ['sphinx'] if needs_sphinx else []
|
sphinx = ['sphinx', 'rst.linker'] if needs_sphinx else []
|
||||||
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
|
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
|
||||||
wheel = ['wheel'] if needs_wheel else []
|
wheel = ['wheel'] if needs_wheel else []
|
||||||
|
|
||||||
|
name = 'skeleton'
|
||||||
|
description = ''
|
||||||
|
|
||||||
setup_params = dict(
|
setup_params = dict(
|
||||||
name='wolframalpha',
|
name=name,
|
||||||
use_scm_version=True,
|
use_scm_version=True,
|
||||||
author="Jason R. Coombs",
|
author="Jason R. Coombs",
|
||||||
author_email="jaraco@jaraco.com",
|
author_email="jaraco@jaraco.com",
|
||||||
description="Wolfram|Alpha 2.0 API client",
|
description=description or name,
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
url="https://github.com/jaraco/wolframalpha",
|
url="https://github.com/jaraco/" + name,
|
||||||
packages=setuptools.find_packages(),
|
packages=setuptools.find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
|
namespace_packages=name.split('.')[:-1],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'six',
|
'six',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user