|
1 | 1 | #! /usr/bin/env python
|
2 |
| -from setuptools import setup, find_packages |
3 | 2 |
|
4 |
| -NAME = "orange-canvas-core" |
5 |
| -VERSION = "0.1.23.dev0" |
6 |
| -DESCRIPTION = "Core component of Orange Canvas" |
7 |
| - |
8 |
| -with open("README.rst", "rt", encoding="utf-8") as f: |
9 |
| - LONG_DESCRIPTION = f.read() |
10 |
| - |
11 |
| -URL = "http://orange.biolab.si/" |
12 |
| -AUTHOR = "Bioinformatics Laboratory, FRI UL" |
13 |
| -AUTHOR_EMAIL = '[email protected]' |
14 |
| - |
15 |
| -LICENSE = "GPLv3" |
16 |
| -DOWNLOAD_URL = 'https://github.com/biolab/orange-canvas-core' |
17 |
| -PACKAGES = find_packages() |
18 |
| - |
19 |
| -PACKAGE_DATA = { |
20 |
| - "orangecanvas": ["icons/*.svg", "icons/*png"], |
21 |
| - "orangecanvas.styles": ["*.qss", "orange/*.svg"], |
22 |
| -} |
23 |
| - |
24 |
| -INSTALL_REQUIRES = ( |
25 |
| - "setuptools", |
26 |
| - "AnyQt>=0.0.13", |
27 |
| - "docutils", |
28 |
| - "commonmark>=0.8.1", |
29 |
| - "requests", |
30 |
| - "cachecontrol[filecache]", |
31 |
| - "pip>=18.0", |
32 |
| - "dictdiffer", |
33 |
| - "qasync", |
34 |
| - "importlib_metadata; python_version<'3.8'", |
35 |
| - "dataclasses; python_version<'3.7'", |
36 |
| -) |
37 |
| - |
38 |
| - |
39 |
| -CLASSIFIERS = ( |
40 |
| - "Development Status :: 1 - Planning", |
41 |
| - "Environment :: X11 Applications :: Qt", |
42 |
| - "Programming Language :: Python :: 3", |
43 |
| - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", |
44 |
| - "Operating System :: OS Independent", |
45 |
| - "Topic :: Scientific/Engineering :: Visualization", |
46 |
| - "Topic :: Software Development :: Libraries :: Python Modules", |
47 |
| - "Intended Audience :: Education", |
48 |
| - "Intended Audience :: Developers", |
49 |
| -) |
50 |
| - |
51 |
| -EXTRAS_REQUIRE = { |
52 |
| - 'DOCBUILD': ['sphinx', 'sphinx-rtd-theme'], |
53 |
| -} |
54 |
| - |
55 |
| -PROJECT_URLS = { |
56 |
| - "Bug Reports": "https://github.com/biolab/orange-canvas-core/issues", |
57 |
| - "Source": "https://github.com/biolab/orange-canvas-core/", |
58 |
| - "Documentation": "https://orange-canvas-core.readthedocs.io/en/latest/", |
59 |
| -} |
60 |
| - |
61 |
| -PYTHON_REQUIRES = ">=3.6" |
| 3 | +from setuptools import setup |
62 | 4 |
|
63 | 5 | if __name__ == "__main__":
|
64 |
| - setup( |
65 |
| - name=NAME, |
66 |
| - version=VERSION, |
67 |
| - description=DESCRIPTION, |
68 |
| - long_description=LONG_DESCRIPTION, |
69 |
| - long_description_content_type="text/x-rst", |
70 |
| - url=URL, |
71 |
| - author=AUTHOR, |
72 |
| - author_email=AUTHOR_EMAIL, |
73 |
| - license=LICENSE, |
74 |
| - packages=PACKAGES, |
75 |
| - package_data=PACKAGE_DATA, |
76 |
| - install_requires=INSTALL_REQUIRES, |
77 |
| - extras_require=EXTRAS_REQUIRE, |
78 |
| - project_urls=PROJECT_URLS, |
79 |
| - python_requires=PYTHON_REQUIRES, |
80 |
| - ) |
| 6 | + setup() # setup.cfg has the authoritative meta data |
0 commit comments