mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2024-12-23 16:46:14 +01:00
Initial commit
This commit is contained in:
commit
bc3aa1e0a6
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
__pycache__/
|
||||||
|
/build/
|
||||||
|
/dist/
|
20
LICENSE
Normal file
20
LICENSE
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Copyright 2019 tox-current-env contributors
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
MANIFEST.in
Normal file
1
MANIFEST.in
Normal file
@ -0,0 +1 @@
|
|||||||
|
include LICENSE
|
4
README.rst
Normal file
4
README.rst
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
tox-current-env
|
||||||
|
===============
|
||||||
|
|
||||||
|
... TODO ...
|
35
setup.py
Normal file
35
setup.py
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
|
def long_description():
|
||||||
|
with open("README.rst", encoding="utf-8") as f:
|
||||||
|
return f.read()
|
||||||
|
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name="tox-current-env",
|
||||||
|
description="Use current environment instead of virtualenv for tox testenvs",
|
||||||
|
long_description=long_description(),
|
||||||
|
author="Miro Hrončok",
|
||||||
|
author_email="miro@hroncok.cz",
|
||||||
|
url="https://github.com/fedora-python/tox-current-env",
|
||||||
|
license="MIT",
|
||||||
|
version="0.0.1dev1",
|
||||||
|
package_dir={"": "src"},
|
||||||
|
packages=find_packages("src"),
|
||||||
|
entry_points={"tox": ["current-env = tox_current_env.hooks"]},
|
||||||
|
install_requires=["tox>=3.8.1"],
|
||||||
|
python_requires=">=3.6",
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Framework :: tox",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
|
"Programming Language :: Python :: 3.6",
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
|
"Topic :: Software Development :: Testing",
|
||||||
|
],
|
||||||
|
)
|
0
src/tox_current_env/__init__.py
Normal file
0
src/tox_current_env/__init__.py
Normal file
6
src/tox_current_env/hooks.py
Normal file
6
src/tox_current_env/hooks.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import tox
|
||||||
|
|
||||||
|
|
||||||
|
@tox.hookimpl
|
||||||
|
def tox_testenv_create(venv, action):
|
||||||
|
...
|
Loading…
Reference in New Issue
Block a user