Passed
Branch master (929f74)
by Cyb3r
01:56
created

setup   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 56
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 46
dl 0
loc 56
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A read() 0 4 1
1
"""Sets up PyStalk to be installed"""
2
import os
3
from setuptools import setup, find_packages
4
from MetaStalk import __version__, __author__
5
6
7
def read(fname) -> str:
8
    """Reads the fname file.
9
    Used to read the README.MD file"""
10
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
11
12
13
setup(
14
    name="MetaStalk",
15
    version=__version__,
16
    author=__author__,
17
    author_email="[email protected]",
18
    install_requires=[
19
        "exifread >= 2.1.2",
20
        "plotly >= 4.6.0",
21
        "pandas >= 1.0.3",
22
        "dash >= 1.11.0"],
23
    description="Metadata analyzer and visualizer",
24
    license="MPL 2.0",
25
    python_requires=">=3.6",
26
    packages=find_packages(exclude=["tests"]),
27
    package_data={
28
        'MetaStalk': ['utils/assets/*'],
29
        },
30
    include_package_data=True,
31
    long_description=read('README.md'),
32
    long_description_content_type='text/markdown',
33
    entry_points={
34
        "console_scripts": ["metastalk=MetaStalk.main:start"]
35
    },
36
    keywords="exif image metadata photo plotly dash pyheif",
37
    url="https://gitlab.com/Cyb3r-Jak3/MetaStalk",
38
    project_urls={
39
        "Issues": "https://gitlab.com/Cyb3r-Jak3/MetaStalk/issues",
40
        "Source": "https://gitlab.com/Cyb3r-Jak3/MetaStalk/-/tree/master",
41
        "CI": "https://gitlab.com/Cyb3r-Jak3/MetaStalk/pipelines",
42
        "Releases": "https://gitlab.com/Cyb3r-Jak3/metastalk/-/releases"
43
    },
44
    classifiers=[
45
        "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
46
        "Operating System :: OS Independent",
47
        "Natural Language :: English",
48
        "Programming Language :: Python :: 3.6",
49
        "Programming Language :: Python :: 3.7",
50
        "Programming Language :: Python :: 3.8",
51
        "Programming Language :: Python :: 3 :: Only",
52
        "Development Status :: 5 - Production/Stable",
53
        "Environment :: Console",
54
        "Topic :: Scientific/Engineering :: Information Analysis",
55
        "Topic :: Utilities"
56
    ]
57
)
58