Closed duckyou closed 6 years ago
@duckyou It's can be useful I think. Let's add it!
@lk-geimfari PR to master
? Or you can create dev
branch for features and after review merge it with master?
@duckyou Can you create a branch, please?
git checkout bench
git add --all
git commit -m "Added integration with pytest-benchmark"
@duckyou Can you tell me, please, what is your operating system? I have some problem with tox
on Ubuntu 16.04
when tox
tries to run tests on Python 3.6
: tox_report.txt.
P.S All necessary versions of Python interpreters already installed on the system.
@lk-geimfari Here it is:
$ uname -osrv
Linux 4.9.73-1-MANJARO #1 SMP PREEMPT Fri Dec 29 17:58:25 UTC 2017 GNU/Linux
I understand your problem. psutil
cant compile without python-dev libs. Have you installed python3.6-dev
?
Here is full script which should work on Ubuntu/Xenial
:
# Add python3.6 repo
#
sudo add-apt-repository -y ppa:jonathonf/python-3.6
sudo apt-get update
# Install tools
#
sudo apt-get -y install build-essential virtualenv git \
python3-dev python3.6 python3.6-dev
# Setting up enviroment
#
git clone https://github.com/lk-geimfari/mimesis
cd mimesis/
virtualenv --python=python3.5 venv
source venv/bin/activate
pip install -r dev_requirements.txt
tox
What about pytest-benchmark integration? It can be useful for optimization issues