Call pytest from a distutils setup.py script.
Project description
This Python module adds test to the commands in the distutils package. If your setup.py imports distutils_pytest, the user may run:
python setup.py test
This will call pytest to run your package’s test suite.
System requirements
Python 2.6, 2.7, or 3.1 and newer.
To be honest, the package might also work with older Python versions. But I didn’t try it.
Installation
This package uses the distutils Python standard library package and follows its conventions of packaging source distributions. See the documentation on Installing Python Modules for details or to customize the install process.
Download the sources, unpack, and change into the source directory.
Build:
$ python setup.py buildInstall:
$ python setup.py install
The last step might require admin privileges in order to write into the site-packages directory of your Python installation.
Copyright and License
Copyright 2013-2015 Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Copyright 2015-2016 Rolf Krahl
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file distutils-pytest-0.1.tar.gz
.
File metadata
- Download URL: distutils-pytest-0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c46a9a2b4a48400e506da05eec12769d16900f869a60517869f1ff114d1fd26e |
|
MD5 | ccd0e708e5a9ab06f13b966567530974 |
|
BLAKE2b-256 | 6f72b50f7654160c3c80b0c702a57b238b0bcc41eb30b1e3465f3f102a130cfb |