-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed info file output, added setup, conftest, auxiliary test modul…
…e, changed unit tests ...
- Loading branch information
Showing
20 changed files
with
1,038 additions
and
563 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,24 @@ | ||
"""The module allows to run tests from inside the interpreter | ||
""" | ||
import os | ||
|
||
try: | ||
import pytest | ||
except ImportError: | ||
pass | ||
|
||
__version__ = '1.0.0' | ||
|
||
|
||
def test(): | ||
""" Run PYTEST for the package. | ||
""" | ||
|
||
package_directory = os.path.dirname(os.path.realpath(__file__)) | ||
current_directory = os.getcwd() | ||
|
||
os.chdir(package_directory) | ||
|
||
pytest.main() | ||
|
||
os.chdir(current_directory) |
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
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,11 @@ | ||
from setuptools import setup | ||
|
||
setup(name='grmpy', | ||
version='0.1', | ||
description='grmpy is a package for simulation and analysis of economic aspects of the generalized roy model', | ||
url='https://github.com/grmToolbox/grmpy', | ||
author='Phillip Eisenhauer', | ||
author_email='eisenhauer@policy-lab.org', | ||
license='MIT', | ||
packages=['numpy', 'scipy', 'pytest', 'pandas', 'statsmodels'], | ||
zip_safe=False) |
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
Oops, something went wrong.