-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup.cfg: Move metadata to setup.cfg, raise version
- Loading branch information
1 parent
bfc9183
commit ef2d0a4
Showing
2 changed files
with
57 additions
and
78 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,58 @@ | ||
[metadata] | ||
license_file=LICENSE.txt | ||
|
||
name = orange-canvas-core | ||
version = 0.2.0a1.dev0 | ||
description = Core component of Orange Canvas | ||
long_description = file: README.rst | ||
keywords = | ||
home_page = http://orange.biolab.si/ | ||
author = Bioinformatics Laboratory, FRI UL <[email protected]> | ||
|
||
project_urls = | ||
Home Page = https://github.com/biolab/orange-canvas-core | ||
Source = https://github.com/biolab/orange-canvas-core | ||
Issue Tracker = https://github.com/biolab/orange-canvas-core/issues | ||
Documentation = https://orange-canvas-core.readthedocs.io/en/latest/ | ||
|
||
license = GPLv3 | ||
license_file = LICENSE.txt | ||
|
||
classifiers = | ||
Development Status :: 1 - Planning | ||
Environment :: X11 Applications :: Qt | ||
Programming Language :: Python :: 3 | ||
License :: OSI Approved :: GNU General Public License v3 (GPLv3) | ||
Operating System :: OS Independent | ||
Topic :: Scientific/Engineering :: Visualization | ||
Topic :: Software Development :: Libraries :: Python Modules | ||
Intended Audience :: Education | ||
Intended Audience :: Developers | ||
|
||
[options] | ||
|
||
packages = find: | ||
|
||
install_requires = | ||
setuptools | ||
AnyQt >= 0.1.0 | ||
docutils | ||
commonmark >= 0.8.1 | ||
requests | ||
cachecontrol[filecache] | ||
pip >= 20.0 | ||
dictdiffer | ||
qasync >= 0.13.0 | ||
importlib_metadata; python_version<'3.8' | ||
dataclasses; python_version<'3.7' | ||
|
||
setup_requires= | ||
setuptools >=30.0 | ||
|
||
python_requires = >=3.6 | ||
|
||
[options.extras_require] | ||
DOCBUILD = sphinx; sphinx-rtd-theme; | ||
|
||
|
||
[coverage:run] | ||
source = | ||
|
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,80 +1,6 @@ | ||
#! /usr/bin/env python | ||
from setuptools import setup, find_packages | ||
|
||
NAME = "orange-canvas-core" | ||
VERSION = "0.1.27.dev0" | ||
DESCRIPTION = "Core component of Orange Canvas" | ||
|
||
with open("README.rst", "rt", encoding="utf-8") as f: | ||
LONG_DESCRIPTION = f.read() | ||
|
||
URL = "http://orange.biolab.si/" | ||
AUTHOR = "Bioinformatics Laboratory, FRI UL" | ||
AUTHOR_EMAIL = '[email protected]' | ||
|
||
LICENSE = "GPLv3" | ||
DOWNLOAD_URL = 'https://github.com/biolab/orange-canvas-core' | ||
PACKAGES = find_packages() | ||
|
||
PACKAGE_DATA = { | ||
"orangecanvas": ["icons/*.svg", "icons/*png"], | ||
"orangecanvas.styles": ["*.qss", "orange/*.svg"], | ||
} | ||
|
||
INSTALL_REQUIRES = ( | ||
"setuptools", | ||
"AnyQt>=0.1.0", | ||
"docutils", | ||
"commonmark>=0.8.1", | ||
"requests", | ||
"cachecontrol[filecache]", | ||
"pip>=18.0", | ||
"dictdiffer", | ||
"qasync", | ||
"importlib_metadata; python_version<'3.8'", | ||
"dataclasses; python_version<'3.7'", | ||
) | ||
|
||
|
||
CLASSIFIERS = ( | ||
"Development Status :: 1 - Planning", | ||
"Environment :: X11 Applications :: Qt", | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Operating System :: OS Independent", | ||
"Topic :: Scientific/Engineering :: Visualization", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Developers", | ||
) | ||
|
||
EXTRAS_REQUIRE = { | ||
'DOCBUILD': ['sphinx', 'sphinx-rtd-theme'], | ||
} | ||
|
||
PROJECT_URLS = { | ||
"Bug Reports": "https://github.com/biolab/orange-canvas-core/issues", | ||
"Source": "https://github.com/biolab/orange-canvas-core/", | ||
"Documentation": "https://orange-canvas-core.readthedocs.io/en/latest/", | ||
} | ||
|
||
PYTHON_REQUIRES = ">=3.6" | ||
from setuptools import setup | ||
|
||
if __name__ == "__main__": | ||
setup( | ||
name=NAME, | ||
version=VERSION, | ||
description=DESCRIPTION, | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type="text/x-rst", | ||
url=URL, | ||
author=AUTHOR, | ||
author_email=AUTHOR_EMAIL, | ||
license=LICENSE, | ||
packages=PACKAGES, | ||
package_data=PACKAGE_DATA, | ||
install_requires=INSTALL_REQUIRES, | ||
extras_require=EXTRAS_REQUIRE, | ||
project_urls=PROJECT_URLS, | ||
python_requires=PYTHON_REQUIRES, | ||
) | ||
# setup.cfg has authoritative package descriptions | ||
setup() |