-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port setup metadata from legacy setup.py to declarative setup.cfg
- Loading branch information
1 parent
153a7b2
commit 3f7bf6b
Showing
5 changed files
with
55 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[metadata] | ||
name = QtPy | ||
version = attr: qtpy.__version__ | ||
description = Provides an abstraction layer on top of the various Qt bindings (PyQt5/6 and PySide2/6) and additional custom QWidgets. | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/spyder-ide/qtpy | ||
author = Colin Duquesnoy and the Spyder Development Team | ||
author_email = spyder.python@gmail.com | ||
maintainer = Spyder Development Team and QtPy Contributors | ||
maintainer_email = spyder.python@gmail.com | ||
license = MIT | ||
license_file = LICENSE.txt | ||
license_files = | ||
AUTHORS.txt | ||
LICENSE.txt | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Win32 (MS Windows) | ||
Environment :: X11 Applications :: Qt | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
keywords = qt PyQt5 PyQt6 PySide2 PySide6 | ||
project_urls = | ||
Github = https://github.com/r-spacex/submanager | ||
Bug Tracker = https://github.com/r-spacex/submanager/issues | ||
Demo = https://www.reddit.com/r/SpaceX | ||
|
||
[options] | ||
packages = find: | ||
install_requires = | ||
packaging | ||
python_requires = >=3.6 | ||
include_pacakge_data = True | ||
zip_safe = False | ||
|
||
[options.packages.find] | ||
exclude = | ||
contrib | ||
docs | ||
tests* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,8 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
Setup script for qtpy | ||
""" | ||
"""Stub setup.py for use with legacy build tooling.""" | ||
|
||
import os | ||
import setuptools | ||
|
||
from setuptools import setup, find_packages | ||
|
||
HERE = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
version_ns = {} | ||
with open(os.path.join(HERE, 'qtpy', '_version.py')) as f: | ||
exec(f.read(), {}, version_ns) | ||
|
||
with open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f: | ||
LONG_DESCRIPTION = f.read() | ||
|
||
setup( | ||
name='QtPy', | ||
version=version_ns['__version__'], | ||
packages=find_packages(exclude=['contrib', 'docs', 'tests*']), | ||
python_requires='>=3.6', | ||
install_requires=['packaging'], | ||
keywords=["qt PyQt5 PyQt6 PySide2 PySide6"], | ||
url='https://github.com/spyder-ide/qtpy', | ||
license='MIT', | ||
author='Colin Duquesnoy and the Spyder Development Team', | ||
author_email='spyder.python@gmail.com', | ||
maintainer='Spyder Development Team and QtPy Contributors', | ||
maintainer_email='spyder.python@gmail.com', | ||
description='Provides an abstraction layer on top of the various Qt ' | ||
'bindings (PyQt5/6 and PySide2/6) and additional custom ' | ||
'QWidgets.', | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type='text/markdown', | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: X11 Applications :: Qt', | ||
'Environment :: Win32 (MS Windows)', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
] | ||
) | ||
if __name__ == "__main__": | ||
setuptools.setup() |