parent
1a750dc527
commit
d90aeb2210
@ -1,2 +1,86 @@
|
||||
[wheel]
|
||||
universal = 1
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
||||
[aliases]
|
||||
release = register clean --all sdist bdist_wheel upload
|
||||
|
||||
[flake8]
|
||||
max-line-length = 140
|
||||
exclude = tests/*,*/migrations/*,*/south_migrations/*
|
||||
|
||||
[bumpversion]
|
||||
current_version = 0.1.0
|
||||
files = setup.py docs/conf.py src/sphinx_py3doc_enhanced_theme/__init__.py
|
||||
commit = True
|
||||
tag = True
|
||||
|
||||
[pytest]
|
||||
norecursedirs =
|
||||
.git
|
||||
.tox
|
||||
dist
|
||||
build
|
||||
south_migrations
|
||||
migrations
|
||||
python_files =
|
||||
test_*.py
|
||||
*_test.py
|
||||
tests.py
|
||||
addopts =
|
||||
-rxEfs
|
||||
--strict
|
||||
--ignore=docs/conf.py
|
||||
--ignore=setup.py
|
||||
--ignore=ci
|
||||
--doctest-modules
|
||||
--doctest-glob=\*.rst
|
||||
--tb=short
|
||||
|
||||
[isort]
|
||||
force_single_line=True
|
||||
line_length=120
|
||||
known_first_party=sphinx_py3doc_enhanced_theme
|
||||
default_section=THIRDPARTY
|
||||
forced_separate=test_sphinx_py3doc_enhanced_theme
|
||||
|
||||
[matrix]
|
||||
# This is the configuration for the `./bootstrap.py` script.
|
||||
# It generates `.travis.yml`, `tox.ini` and `appveyor.yml`.
|
||||
#
|
||||
# Syntax: [alias:] value [!variable[glob]] [&variable[glob]]
|
||||
#
|
||||
# alias:
|
||||
# - is used to generate the tox environment
|
||||
# - it's optional
|
||||
# - if not present the alias will be computed from the `value`
|
||||
# value:
|
||||
# - a value of "-" means empty
|
||||
# !variable[glob]:
|
||||
# - exclude the combination of the current `value` with
|
||||
# any value matching the `glob` in `variable`
|
||||
# - can use as many you want
|
||||
# &variable[glob]:
|
||||
# - only include the combination of the current `value`
|
||||
# when there's a value matching `glob` in `variable`
|
||||
# - can use as many you want
|
||||
|
||||
python_versions =
|
||||
2.6
|
||||
2.7
|
||||
3.3
|
||||
3.4
|
||||
pypy
|
||||
|
||||
dependencies =
|
||||
# 1.4: Django==1.4.16 !python_versions[3.*]
|
||||
# 1.5: Django==1.5.11
|
||||
# 1.6: Django==1.6.8
|
||||
# 1.7: Django==1.7.1 !python_versions[2.6]
|
||||
# Deps commented above are provided as examples. That's what you would use in a Django project.
|
||||
|
||||
coverage_flags =
|
||||
: true
|
||||
nocover: false
|
||||
|
||||
environment_variables =
|
||||
-
|
||||
|
@ -1,63 +1,68 @@
|
||||
# -*- encoding: utf8 -*-
|
||||
import glob
|
||||
#!/usr/bin/env python
|
||||
# -*- encoding: utf-8 -*-
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
from glob import glob
|
||||
from os.path import basename
|
||||
from os.path import dirname
|
||||
from os.path import join
|
||||
from os.path import relpath
|
||||
from os.path import splitext
|
||||
|
||||
from setuptools import find_packages
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
def read(*names, **kwargs):
|
||||
return io.open(
|
||||
join(dirname(__file__), *names),
|
||||
encoding=kwargs.get("encoding", "utf8")
|
||||
encoding=kwargs.get('encoding', 'utf8')
|
||||
).read()
|
||||
|
||||
|
||||
setup(
|
||||
name="sphinx_py3doc_enhanced_theme",
|
||||
version="1.2.0",
|
||||
license="BSD",
|
||||
description="A theme based on the theme of https://docs.python.org/3/",
|
||||
long_description="%s\n%s" % (read("README.rst"), re.sub(":obj:`~?(.*?)`", r"``\1``", read("CHANGELOG.rst"))),
|
||||
author="Ionel Cristian Mărieș",
|
||||
author_email="contact@ionelmc.ro",
|
||||
url="https://github.com/ionelmc/sphinx-py3doc-enhanced-theme",
|
||||
packages=find_packages("src"),
|
||||
package_dir={"": "src"},
|
||||
py_modules=[splitext(basename(i))[0] for i in glob.glob("src/*.py")],
|
||||
name='sphinx-py3doc-enhanced-theme',
|
||||
version='1.2.0',
|
||||
license='BSD',
|
||||
description='A theme based on the theme of https://docs.python.org/3/ with some responsive enhancements.',
|
||||
long_description='%s\n%s' % (read('README.rst'), re.sub(':obj:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))),
|
||||
author='Ionel Cristian M\xc4\x83rie\xc8\x99',
|
||||
author_email='contact@ionelmc.ro',
|
||||
url='https://github.com/ionelmc/sphinx-py3doc-enhanced-theme',
|
||||
packages=find_packages('src'),
|
||||
package_dir={'': 'src'},
|
||||
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: BSD License",
|
||||
"Operating System :: Unix",
|
||||
"Operating System :: POSIX",
|
||||
"Operating System :: Microsoft :: Windows",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 2.6",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.3",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
"Topic :: Utilities",
|
||||
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Operating System :: Unix',
|
||||
'Operating System :: POSIX',
|
||||
'Operating System :: Microsoft :: Windows',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Utilities',
|
||||
],
|
||||
keywords=[
|
||||
# eg: 'keyword1', 'keyword2', 'keyword3',
|
||||
],
|
||||
install_requires=[
|
||||
# eg: 'aspectlib==1.1.1', 'six>=1.7',
|
||||
],
|
||||
extras_require={
|
||||
# eg: 'rst': ['docutils>=0.11'],
|
||||
},
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"sphinx_py3doc_enhanced_theme = sphinx_py3doc_enhanced_theme:main"
|
||||
]
|
||||
}
|
||||
|
||||
)
|
||||
},
|
||||
)
|
||||
|
Loading…
Reference in new issue