File: setup.py

package info (click to toggle)
opgpcard 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 864 kB
  • sloc: python: 520; makefile: 19
file content (62 lines) | stat: -rw-r--r-- 2,206 bytes parent folder | download
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
#!/usr/bin/env python

#   This file is part of opgpcard, a set of scripts to
#   use different tor guards depending on the network we connect to.
#
#   Copyright (C) 2016-2019 juga (juga at riseup dot net)
#
#   opgpcard is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License Version 3 of the
#   License, or (at your option) any later version.
#
#   opgpcard 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 opgpcard.  If not, see <http://www.gnu.org/licenses/>.
#

from setuptools import setup, find_packages
import opgpcard

setup(
    name='opgpcard',
    version=opgpcard.__version__,
    description=opgpcard.__description__,
    long_description=opgpcard.__long_description__,
    author=opgpcard.__author__,
    author_email=opgpcard.__author_mail__,
    platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
    license='GPLv3+',
    url=opgpcard.__website__,
    packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
    install_requires=["qrcode", "lxml", "gpg"],
    extras_require={
        # vulture: find unused code
        'dev': ['flake8', 'vulture'],
        'test': ['tox', 'pytest', 'coverage'],
        'doc': ['sphinx', 'pylint']
    },
    tests_require=['pytest'],
    include_package_data=True,
    zip_safe=False,
    entry_points={
        'console_scripts': [
            'opgpcard = opgpcard.cli:main',
        ]
    },
    classifiers=[
        'Development Status :: 4 - Beta',
        "Environment :: Console",
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU General Public License v3 ' +
        'or later (GPLv3+)',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    keywords='python openpgp gpp businesscard vcard qrcode',
)