File: setup.py

package info (click to toggle)
pycirkuit 0.5.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,640 kB
  • sloc: python: 7,297; sh: 9; makefile: 3
file content (62 lines) | stat: -rw-r--r-- 2,128 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
"""
Copyright (c) 2018 Orestes Mas

This file is part of PyCirkuit.

PyCirkuit is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

PyCirkuit is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PyCirkuit.  If not, see <https://www.gnu.org/licenses/>.
"""

from setuptools import setup, find_packages
import pycirkuit
import platform

with open("README.md", "r") as fh:
    long_description = fh.read()
    
setup(name = 'pycirkuit',
    version = pycirkuit.__version__,
    description = pycirkuit.__description__, 
    long_description = long_description,
    long_description_content_type = "text/markdown",
    url = pycirkuit.__homepage__,
    author = pycirkuit.__author__,
    author_email = pycirkuit.__author_email__,
    license = pycirkuit.__license_short__,
    packages = find_packages(),
    package_data = {
        'pycirkuit': ['doc/*', 'lib/*', 'templates/*', 'examples/*'],
    },
    entry_points = {
        'gui_scripts': [
            'pycirkuit = pycirkuit.main:main',
        ],
    },
    classifiers = [
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
        "Operating System :: OS Independent",
        "Topic :: Multimedia :: Graphics :: Editors",
        "Topic :: Scientific/Engineering",
        "Intended Audience :: Education",
        "Intended Audience :: Science/Research",
        "Intended Audience :: End Users/Desktop",
    ],
    install_requires = [
        # Debian package is python3-pyqt5
        'PyQt5',
        'wheel',
        # Debian package is python3-magic
        'python-magic-bin' if platform.system() == 'Windows' else 'python-magic'
    ],
    zip_safe = True)