phantompy/setup.py.bak

45 lines
1.6 KiB
Python
Raw Normal View History

2022-11-16 19:53:54 +01:00
# -*-mode: python; indent-tabs-mode: nil; py-indent-offset: 4; coding: utf-8 -*
2022-11-16 18:13:39 +01:00
2022-11-17 09:07:23 +01:00
import re
2022-11-16 18:13:39 +01:00
from setuptools import setup
2022-11-17 09:07:23 +01:00
with open("qasync/__init__.py") as f:
version = re.search(r'__version__\s+=\s+"(.*)"', f.read()).group(1)
2022-11-16 18:13:39 +01:00
long_description = "\n\n".join([
open("README.md").read(),
])
2022-11-16 19:53:54 +01:00
if __name__ == '__main__':
setup(
name="phantompy",
version=__version__,
description="""A simple replacement for phantomjs using PyQt""",
long_description=long_description,
author="Michael Franzl (originally)",
author_email='',
license="1clause BSD",
packages=['phantompy'],
# url="",
# download_url="https://",
2022-11-17 09:07:23 +01:00
keywords=['JavaScript', 'phantomjs', 'asyncio'],
2022-11-16 19:53:54 +01:00
# maybe less - nothing fancy
2022-11-17 09:07:23 +01:00
python_requires="~=3.6",
2022-11-16 19:53:54 +01:00
# probably works on PyQt6 and PySide2 but untested
# https://github.com/CabbageDevelopment/qasync/
2022-11-18 17:16:26 +01:00
install_requires=['qasync',
'PyQt5'],
2022-11-16 19:53:54 +01:00
entry_points={
'console_scripts': ['phantompy = phantompy.__main__:iMain', ]},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Web Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Documentation',
],
)