phantompy/setup.py

45 lines
1.6 KiB
Python
Raw Normal View History

2022-11-16 18:53:54 +00:00
# -*-mode: python; indent-tabs-mode: nil; py-indent-offset: 4; coding: utf-8 -*
2022-11-16 17:13:39 +00:00
2022-11-17 08:07:23 +00:00
import re
2022-11-16 17:13:39 +00:00
from setuptools import setup
2022-11-17 08:07:23 +00:00
with open("qasync/__init__.py") as f:
version = re.search(r'__version__\s+=\s+"(.*)"', f.read()).group(1)
2022-11-16 17:13:39 +00:00
long_description = "\n\n".join([
open("README.md").read(),
])
2022-11-16 18:53:54 +00: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 08:07:23 +00:00
keywords=['JavaScript', 'phantomjs', 'asyncio'],
2022-11-16 18:53:54 +00:00
# maybe less - nothing fancy
2022-11-17 08:07:23 +00:00
python_requires="~=3.6",
2022-11-16 18:53:54 +00:00
# probably works on PyQt6 and PySide2 but untested
# https://github.com/CabbageDevelopment/qasync/
2022-11-18 16:16:26 +00:00
install_requires=['qasync',
'PyQt5'],
2022-11-16 18:53:54 +00: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',
],
)