Generate project skeleton
This commit is contained in:
commit
5ad18328e8
8
.travis.yml
Normal file
8
.travis.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
sudo: false
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- 2.7
|
||||||
|
- 3.5
|
||||||
|
script:
|
||||||
|
- pip install -U pytest
|
||||||
|
- python setup.py test
|
0
CHANGES.rst
Normal file
0
CHANGES.rst
Normal file
2
README.rst
Normal file
2
README.rst
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
skeleton
|
||||||
|
========
|
19
docs/conf.py
Normal file
19
docs/conf.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import setuptools_scm
|
||||||
|
|
||||||
|
extensions = [
|
||||||
|
'sphinx.ext.autodoc',
|
||||||
|
]
|
||||||
|
|
||||||
|
# General information about the project.
|
||||||
|
project = 'skeleton'
|
||||||
|
copyright = '2015 Jason R. Coombs'
|
||||||
|
|
||||||
|
# The short X.Y version.
|
||||||
|
version = setuptools_scm.get_version(root='..', relative_to=__file__)
|
||||||
|
# The full version, including alpha/beta/rc tags.
|
||||||
|
release = version
|
||||||
|
|
||||||
|
master_doc = 'index'
|
8
docs/history.rst
Normal file
8
docs/history.rst
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
:tocdepth: 2
|
||||||
|
|
||||||
|
.. _changes:
|
||||||
|
|
||||||
|
History
|
||||||
|
*******
|
||||||
|
|
||||||
|
.. include:: ../CHANGES.rst
|
22
docs/index.rst
Normal file
22
docs/index.rst
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
Welcome to skeleton documentation!
|
||||||
|
========================================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
history
|
||||||
|
|
||||||
|
|
||||||
|
.. automodule:: skeleton
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
|
Indices and tables
|
||||||
|
==================
|
||||||
|
|
||||||
|
* :ref:`genindex`
|
||||||
|
* :ref:`modindex`
|
||||||
|
* :ref:`search`
|
||||||
|
|
4
pytest.ini
Normal file
4
pytest.ini
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[pytest]
|
||||||
|
norecursedirs=*.egg .eggs dist build
|
||||||
|
addopts=--doctest-modules
|
||||||
|
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
|
6
setup.cfg
Normal file
6
setup.cfg
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[aliases]
|
||||||
|
release = sdist bdist_wheel build_sphinx upload upload_docs
|
||||||
|
test = pytest
|
||||||
|
|
||||||
|
[wheel]
|
||||||
|
universal = 1
|
51
setup.py
Normal file
51
setup.py
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# Generated by jaraco.develop 2.27.1
|
||||||
|
# https://pypi.python.org/pypi/jaraco.develop
|
||||||
|
|
||||||
|
import io
|
||||||
|
import sys
|
||||||
|
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
with io.open('README.rst', encoding='utf-8') as readme:
|
||||||
|
long_description = readme.read()
|
||||||
|
|
||||||
|
needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
|
||||||
|
pytest_runner = ['pytest_runner'] if needs_pytest else []
|
||||||
|
needs_sphinx = {'release', 'build_sphinx', 'upload_docs'}.intersection(sys.argv)
|
||||||
|
sphinx = ['sphinx'] if needs_sphinx else []
|
||||||
|
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
|
||||||
|
wheel = ['wheel'] if needs_wheel else []
|
||||||
|
|
||||||
|
setup_params = dict(
|
||||||
|
name='skeleton',
|
||||||
|
use_scm_version=True,
|
||||||
|
author="Jason R. Coombs",
|
||||||
|
author_email="jaraco@jaraco.com",
|
||||||
|
description="skeleton",
|
||||||
|
long_description=long_description,
|
||||||
|
url="https://github.com/jaraco/skeleton",
|
||||||
|
packages=setuptools.find_packages(),
|
||||||
|
include_package_data=True,
|
||||||
|
install_requires=[
|
||||||
|
],
|
||||||
|
extras_require={
|
||||||
|
},
|
||||||
|
setup_requires=[
|
||||||
|
'setuptools_scm>=1.9',
|
||||||
|
] + pytest_runner + sphinx + wheel,
|
||||||
|
tests_require=[
|
||||||
|
'pytest>=2.8',
|
||||||
|
],
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Programming Language :: Python :: 2.7",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
],
|
||||||
|
entry_points={
|
||||||
|
},
|
||||||
|
)
|
||||||
|
if __name__ == '__main__':
|
||||||
|
setuptools.setup(**setup_params)
|
0
skeleton/__init__.py
Normal file
0
skeleton/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user