|
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
|
|
|
""" |
|
11
|
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read() |
|
12
|
|
|
|
|
13
|
|
|
|
|
14
|
|
|
with open("requirements.txt", "r") as infile: |
|
15
|
|
|
requirements = [x.strip() for x in infile.readlines()] |
|
16
|
|
|
|
|
17
|
|
|
with open("requirements-dev.txt", "r") as infile: |
|
18
|
|
|
requirements_dev = [x.strip() for x in infile.readlines()][1:] |
|
19
|
|
|
|
|
20
|
|
|
setup( |
|
21
|
|
|
name="MetaStalk", |
|
22
|
|
|
version=__version__, |
|
23
|
|
|
author=__author__, |
|
24
|
|
|
author_email="[email protected]", |
|
25
|
|
|
install_requires=requirements, |
|
26
|
|
|
tests_require=requirements_dev, |
|
27
|
|
|
description="Metadata analyzer and visualizer", |
|
28
|
|
|
license="MPL 2.0", |
|
29
|
|
|
python_requires=">=3.6", |
|
30
|
|
|
platforms="any", |
|
31
|
|
|
packages=find_packages(exclude=["tests"]), |
|
32
|
|
|
package_data={"MetaStalk": ["utils/assets/*"]}, |
|
33
|
|
|
include_package_data=True, |
|
34
|
|
|
long_description=read("README.md"), |
|
35
|
|
|
long_description_content_type="text/markdown", |
|
36
|
|
|
entry_points={"console_scripts": ["metastalk=MetaStalk.main:start"]}, |
|
37
|
|
|
keywords="exif image metadata photo plotly dash heic", |
|
38
|
|
|
url="https://gitlab.com/Cyb3r-Jak3/MetaStalk", |
|
39
|
|
|
project_urls={ |
|
40
|
|
|
"Issues": "https://gitlab.com/Cyb3r-Jak3/MetaStalk/issues", |
|
41
|
|
|
"Source": "https://gitlab.com/Cyb3r-Jak3/MetaStalk/-/tree/master", |
|
42
|
|
|
"CI": "https://gitlab.com/Cyb3r-Jak3/MetaStalk/pipelines", |
|
43
|
|
|
"Releases": "https://github.com/Cyb3r-Jak3/MetaStalk/releases", |
|
44
|
|
|
}, |
|
45
|
|
|
classifiers=[ |
|
46
|
|
|
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", |
|
47
|
|
|
"Operating System :: OS Independent", |
|
48
|
|
|
"Natural Language :: English", |
|
49
|
|
|
"Programming Language :: Python :: 3.6", |
|
50
|
|
|
"Programming Language :: Python :: 3.7", |
|
51
|
|
|
"Programming Language :: Python :: 3.8", |
|
52
|
|
|
"Programming Language :: Python :: 3.9", |
|
53
|
|
|
"Development Status :: 5 - Production/Stable", |
|
54
|
|
|
"Environment :: Console", |
|
55
|
|
|
"Topic :: Scientific/Engineering :: Information Analysis", |
|
56
|
|
|
"Topic :: Utilities", |
|
57
|
|
|
], |
|
58
|
|
|
) |
|
59
|
|
|
|