-
Notifications
You must be signed in to change notification settings - Fork 35
/
setup.py
51 lines (46 loc) · 1.88 KB
/
setup.py
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
#!/usr/bin/env python
import os
from setuptools import setup
def get_metadata():
import re
with open(os.path.join("imagemounter", "__init__.py")) as f:
return dict(re.findall("__([a-z]+)__ = ['\"]([^'\"]+)['\"]", f.read()))
metadata = get_metadata()
try:
long_description = open("README.rst", "r").read()
except Exception:
long_description = None
setup(
name='imagemounter',
version=metadata['version'],
license='MIT',
packages=['imagemounter', 'imagemounter.cli'],
author='Peter Wagenaar, Ralph Broenink',
author_email='ralph@ralphbroenink.net',
url='https://github.com/ralphje/imagemounter',
download_url='https://github.com/ralphje/imagemounter/tarball/v' + metadata['version'],
description='Command line utility and Python package to ease the (un)mounting of forensic disk images.',
long_description=long_description,
entry_points={'console_scripts': ['imount = imagemounter.cli.imount:main']},
install_requires=['termcolor>=1.0.0'],
extras={"magic": ["python-magic>=0.4"]},
keywords=['encase', 'aff', 'dd', 'disk image', 'ewfmount', 'affuse', 'xmount', 'imount'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Legal Industry',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: System :: Filesystems',
'Topic :: Terminals',
'Topic :: Utilities',
],
)