-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kamichal
committed
Nov 7, 2017
1 parent
68d836f
commit 0e1de1d
Showing
6 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
source = yawrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
include *.py | ||
include .coveragerc | ||
|
||
include LICENSE | ||
include README.rst | ||
include tox.ini | ||
|
||
recursive-include docs *.py | ||
recursive-include docs *.rst | ||
|
||
recursive-include yawrap *.py | ||
|
||
recursive-exclude yawrap/tests/out * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[metadata] | ||
license_file = LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
from setuptools import setup, find_packages | ||
|
||
long_description = open('README.rst').read() | ||
|
||
setup( | ||
name = 'yawrap', | ||
version = '0.1', | ||
author = 'Michal Kaczmarczyk', | ||
author_email = '[email protected]', | ||
maintainer = 'Michal Kaczmarczyk', | ||
maintainer_email = '[email protected]', | ||
license = 'MIT license', | ||
url = 'https://bitbucket.org/gandowin/yarap/', | ||
description = 'yawrap: simple generator of complex html reports, yattag extension', | ||
long_description = long_description, | ||
packages = find_packages(), | ||
requires = ['yattag'], | ||
install_requires = ['yattag'], | ||
keywords = 'static html generator', | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Telecommunications Industry', | ||
'Intended Audience :: Information Technology', | ||
'Intended Audience :: Science/Research', | ||
'Intended Audience :: System Administrators', | ||
'Topic :: Database :: Front-Ends', | ||
'Topic :: Documentation', | ||
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Internet :: WWW/HTTP :: Browsers', | ||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', | ||
'Topic :: Scientific/Engineering :: Visualization', | ||
'Topic :: Software Development :: Code Generators', | ||
'Topic :: Utilities', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Operating System :: OS Independent', | ||
'License :: OSI Approved :: MIT License', | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[tox] | ||
envlist = | ||
py27, | ||
py34 | ||
coverage | ||
|
||
[testenv] | ||
usedevelop = True | ||
deps = | ||
bs4 | ||
lxml | ||
pdbpp | ||
pytest | ||
rpdb | ||
yattag | ||
commands = | ||
py.test -x {posargs} | ||
|
||
[testenv:coverage] | ||
usedevelop=True | ||
changedir=. | ||
whitelist_externals = | ||
sh | ||
deps = | ||
bs4 | ||
coverage | ||
coveralls | ||
lxml | ||
pdbpp | ||
pytest | ||
rpdb | ||
yattag | ||
setenv = | ||
COVERAGE_PROCESS_START={toxinidir}/.coveragerc | ||
commands= | ||
sh -c 'echo "import coverage; coverage.process_startup()" > {envsitepackagesdir}/../sitecustomize.py' | ||
coverage run -m pytest tests | ||
coverage report -m |