From 1d92e0ec65d1e72eecdf9efbc665eb6a4f27515e Mon Sep 17 00:00:00 2001 From: emdee Date: Wed, 16 Nov 2022 17:13:39 +0000 Subject: [PATCH] add setup.py --- setup.py | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..2311cdb --- /dev/null +++ b/setup.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- + +from setuptools import setup + +__version__ = "0.1.0" + +long_description = "\n\n".join([ + open("README.md").read(), + ]) + +setup( + name="pahntompy", + version=__version__, + description="""A simple replacement for phantomjs using PyQt""", + long_description=long_description, + author="Michael Franzl (originally) Goebel", + author_email='', + license="1clause BSD", + packages=['phantompy'], + # url="", + # These are for reference only, pip is not able to download packages + # from github because the archives do not include the project-name. + download_url="https://github.com/debops/yaml2rst/releases", + keywords=['JavaScript', 'phantomjs'], + python_requires=">=3.6", + # probably works on PyQt6 and PySide2 but untested + install_requires=['qasync', 'PyQt5'], + 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', + ], +)