added setup.cfg
parent
97db0946da
commit
81a5e66b60
@ -0,0 +1,22 @@
|
|||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- PYTHON: "C:\\Python36"
|
||||||
|
- PYTHON: "C:\\Python37"
|
||||||
|
- PYTHON: "C:\\Python38"
|
||||||
|
- PYTHON: "C:\\Python39"
|
||||||
|
|
||||||
|
init:
|
||||||
|
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
|
||||||
|
|
||||||
|
install:
|
||||||
|
- pip install pipenv
|
||||||
|
- pipenv install --dev
|
||||||
|
- pipenv run pip install PyQt5 PySide2
|
||||||
|
# FIX: colorama not installed by pipenv
|
||||||
|
- pipenv run pip install colorama
|
||||||
|
|
||||||
|
build: off
|
||||||
|
|
||||||
|
test_script:
|
||||||
|
- set QT_API=PyQt5&& pipenv run py.test -v
|
||||||
|
- set QT_API=PySide2&& pipenv run py.test -v
|
@ -0,0 +1,3 @@
|
|||||||
|
# -*-mode: python; indent-tabs-mode: nil; py-indent-offset: 2; coding: utf-8 -*-
|
||||||
|
|
||||||
|
__version__ = "0.1.0"
|
@ -0,0 +1,52 @@
|
|||||||
|
[metadata]
|
||||||
|
classifiers =
|
||||||
|
License :: OSI Approved
|
||||||
|
License :: OSI Approved :: BSD 1-clause
|
||||||
|
Intended Audience :: Web Developers
|
||||||
|
Operating System :: Microsoft :: Windows
|
||||||
|
Operating System :: POSIX :: BSD :: FreeBSD
|
||||||
|
Operating System :: POSIX :: Linux
|
||||||
|
Programming Language :: Python :: 3 :: Only
|
||||||
|
Programming Language :: Python :: 3.6
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
Programming Language :: Python :: 3.8
|
||||||
|
Programming Language :: Python :: 3.9
|
||||||
|
Programming Language :: Python :: Implementation :: CPython
|
||||||
|
Framework :: AsyncIO
|
||||||
|
|
||||||
|
[options]
|
||||||
|
zip_safe = false
|
||||||
|
python_requires = ~=3.6
|
||||||
|
packages = find:
|
||||||
|
include_package_data = false
|
||||||
|
install_requires =
|
||||||
|
qasync
|
||||||
|
attrs
|
||||||
|
typing-extensions ; python_version < '3.8'
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
phantompy = phantompy.__main__:iMain
|
||||||
|
|
||||||
|
[easy_install]
|
||||||
|
zip_ok = false
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
jobs = 1
|
||||||
|
max-line-length = 88
|
||||||
|
ignore =
|
||||||
|
E111
|
||||||
|
E114
|
||||||
|
E225
|
||||||
|
E261
|
||||||
|
E302
|
||||||
|
E305
|
||||||
|
E402
|
||||||
|
E501
|
||||||
|
E502
|
||||||
|
E541
|
||||||
|
E701
|
||||||
|
E722
|
||||||
|
E741
|
||||||
|
F541
|
||||||
|
|
@ -0,0 +1,28 @@
|
|||||||
|
# © 2018 Gerard Marull-Paretas <gerard@teslabs.com>
|
||||||
|
# © 2014 Mark Harviston <mark.harviston@gmail.com>
|
||||||
|
# © 2014 Arve Knudsen <arve.knudsen@gmail.com>
|
||||||
|
# BSD License
|
||||||
|
|
||||||
|
# phantompy test - just test qasync for now
|
||||||
|
|
||||||
|
import os
|
||||||
|
import logging
|
||||||
|
from pytest import fixture
|
||||||
|
|
||||||
|
|
||||||
|
logging.basicConfig(
|
||||||
|
level=logging.DEBUG, format="%(asctime)s - %(levelname)s - %(name)s - %(message)s"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if os.name == "nt":
|
||||||
|
collect_ignore = ["qasync/_unix.py"]
|
||||||
|
else:
|
||||||
|
collect_ignore = ["qasync/_windows.py"]
|
||||||
|
|
||||||
|
|
||||||
|
@fixture(scope="session")
|
||||||
|
def application():
|
||||||
|
from phantompy.qasync_phantompy import QApplication
|
||||||
|
|
||||||
|
return QApplication([])
|
Loading…
Reference in New Issue