generated from matthewfeickert/Python-library-template
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
11 changed files
with
42 additions
and
41 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[run] | ||
branch = True | ||
source = src/libname | ||
source = src/edas_tatmil | ||
|
||
[report] | ||
exclude_lines = | ||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[pytest] | ||
addopts = --ignore=setup.py --ignore=binder/ --cov=libname --cov-report=term-missing --cov-config=.coveragerc --cov-report xml --doctest-modules --doctest-glob='*.rst' | ||
addopts = --ignore=setup.py --ignore=binder/ --cov=edas_tatmil --cov-report=term-missing --cov-config=.coveragerc --cov-report xml --doctest-modules --doctest-glob='*.rst' |
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 |
---|---|---|
@@ -1,21 +1,22 @@ | ||
from setuptools import setup | ||
|
||
extras_require = { | ||
"develop": [ | ||
"check-manifest", | ||
"pytest~=5.2", | ||
"pytest-cov~=2.8", | ||
"pytest-console-scripts~=0.2", | ||
"bumpversion~=0.5", | ||
"pyflakes", | ||
"pre-commit", | ||
"black", | ||
"twine", | ||
], | ||
} | ||
extras_require["complete"] = sorted(set(sum(extras_require.values(), []))) | ||
from setuptools import setup, find_packages | ||
|
||
setup( | ||
extras_require=extras_require, | ||
entry_points={"console_scripts": ["libname=libname.commandline:libname"]}, | ||
) | ||
name='edas_tatmil', | ||
version='0.2', | ||
packages=find_packages(), | ||
# Metadatos adicionales del proyecto | ||
author='Tatiana Cazorla y Rubén Serrano', | ||
description='Tu EDA mas sencillo', | ||
url='https://github.com/milser/edas_tatianamilser', | ||
classifiers=[ | ||
'Programming Language :: Python :: 3', | ||
# Lista de clasificaciones de compatibilidad con Python, SO, etc. | ||
], | ||
install_requires=[ | ||
"pandas", | ||
"matplotlib", | ||
"seaborn", | ||
"importlib", | ||
"tabulate", | ||
], | ||
) |
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import shlex | ||
import libname | ||
import edas_tatmil | ||
import time | ||
|
||
|
||
def test_version(script_runner): | ||
command = "libname --version" | ||
command = "edas_tatmil --version" | ||
start = time.time() | ||
ret = script_runner.run(*shlex.split(command)) | ||
end = time.time() | ||
elapsed = end - start | ||
assert ret.success | ||
assert libname.__version__ in ret.stdout | ||
assert edas_tatmil.__version__ in ret.stdout | ||
assert ret.stderr == "" | ||
# make sure it took less than a second | ||
assert elapsed < 1.0 |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import libname | ||
import edas_tatmil | ||
|
||
|
||
def test_import(): | ||
assert libname | ||
assert edas_tatmil |