added setup.cfg

This commit is contained in:
emdee 2022-11-17 08:07:23 +00:00
parent 97db0946da
commit 81a5e66b60
11 changed files with 153 additions and 36 deletions

View file

@ -1,8 +1,10 @@
# -*-mode: python; indent-tabs-mode: nil; py-indent-offset: 4; coding: utf-8 -*
import re
from setuptools import setup
__version__ = "0.1.0"
with open("qasync/__init__.py") as f:
version = re.search(r'__version__\s+=\s+"(.*)"', f.read()).group(1)
long_description = "\n\n".join([
open("README.md").read(),
@ -20,9 +22,9 @@ if __name__ == '__main__':
packages=['phantompy'],
# url="",
# download_url="https://",
keywords=['JavaScript', 'phantomjs'],
keywords=['JavaScript', 'phantomjs', 'asyncio'],
# maybe less - nothing fancy
python_requires=">=3.6",
python_requires="~=3.6",
# probably works on PyQt6 and PySide2 but untested
# https://github.com/CabbageDevelopment/qasync/
install_requires=['qasync', 'PyQt5'],