Skip to content

Commit 8c51656

Browse files
committed
Added numpy and pandas in requirements for tests, and added a dedicated long_description.md file
1 parent 064625a commit 8c51656

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

ci_tools/requirements-test.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# requirements needed to run the tests
22
pytest
3-
pytest-logging
3+
pytest-logging
4+
numpy
5+
pandas

docs/long_description.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# python-mini-lambda
2+
3+
[![Build Status](https://travis-ci.org/smarie/python-mini-lambda.svg?branch=master)](https://travis-ci.org/smarie/python-mini-lambda) [![Tests Status](https://smarie.github.io/python-mini-lambda/junit/junit-badge.svg?dummy=8484744)](https://smarie.github.io/python-mini-lambda/junit/report.html) [![codecov](https://codecov.io/gh/smarie/python-mini-lambda/branch/master/graph/badge.svg)](https://codecov.io/gh/smarie/python-mini-lambda) [![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://smarie.github.io/python-mini-lambda/) [![PyPI](https://img.shields.io/badge/PyPI-mini_lambda-blue.svg)](https://pypi.python.org/pypi/mini_lambda/)
4+
5+
Simple lambda functions without `lambda x:` and with string conversion capability. Originally developed whithin the [valid8](https://github.com/smarie/python-valid8) validation library.
6+
7+
The documentation for users is available here: [https://smarie.github.io/python-mini-lambda/](https://smarie.github.io/python-mini-lambda/)
8+
9+
A readme for developers is available here: [https://github.com/smarie/python-mini-lambda](https://github.com/smarie/python-mini-lambda)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
INSTALL_REQUIRES = []
1515
DEPENDENCY_LINKS = []
1616
SETUP_REQUIRES = ['pytest-runner', 'setuptools_scm', 'pypandoc', 'pandoc', 'ordered-set', 'mako', 'enforce', 'autoclass']
17-
TESTS_REQUIRE = ['pytest', 'pytest-logging', 'pytest-cov']
17+
TESTS_REQUIRE = ['pytest', 'pytest-logging', 'pytest-cov', 'numpy', 'pandas']
1818
EXTRAS_REQUIRE = {}
1919

2020
# simple check
@@ -43,7 +43,7 @@
4343
# LONG_DESCRIPTION = f.read()
4444
try:
4545
import pypandoc
46-
LONG_DESCRIPTION = pypandoc.convert(path.join(here, 'README.md'), 'rst').replace('\r', '')
46+
LONG_DESCRIPTION = pypandoc.convert(path.join(here, 'docs', 'long_description.md'), 'rst').replace('\r', '')
4747
except(ImportError):
4848
from warnings import warn
4949
warn('WARNING pypandoc could not be imported - we recommend that you install it in order to package the '

0 commit comments

Comments
 (0)