aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 485a632346d8cef7f16f9adafe42629d78186cb8 (plain)
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

from setuptools import setup, find_packages, Extension
import os

setup(
    # package metadata
    name='tagit',
    version='0.23.03',
    author='Matthias Baumgartner',
    author_email='dev@bsfs.io',
    description='The Black Star File System (BSFS) browser and tagger.',
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
    license='BSD',
    license_files=('LICENSE', ),
    url='https://www.bsfs.io/tagit/',
    download_url='https://pip.igsor.net',

    # packages
    packages=find_packages(include=['tagit']),
    package_dir={'tagit': 'tagit'},
    # data files are included if mentioned in MANIFEST.in
    include_package_data=True,
    # setproperty needs to be compiled
    # NOTE: Assumes that setproperty has already been cythonized!
    ext_modules=[
        Extension(
            name='tagit.external.setproperty.setproperty',
            sources=['tagit/external/setproperty/setproperty.c'],
            ),
        ],

    # entrypoints
    entry_points={
        'console_scripts': [
            'tagit = tagit.apps:main',
            ],
        },

    # dependencies
    python_requires=">=3.7",
    install_requires=(
        'bsfs',
        'pillow',
        'kivy',
        'pyparsing',
        'python-dateutil',
        'pyyaml',
        'requests',
        ),

    extras_require={
        'dev': ['coverage', 'mypy', 'pylint'],
        'doc': ['sphinx', 'sphinx-copybutton', 'sphinxcontrib-video', 'furo'],
        'test': ['pyexiv2'],
        'build': ['build'],
        },
)