Packaging
This commit is contained in:
parent
2be9dceb27
commit
dca7ec4ff7
7 changed files with 57 additions and 6 deletions
10
AUTHORS
Normal file
10
AUTHORS
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
dfDewey
|
||||||
|
https://github.com/google/dfdewey/
|
||||||
|
|
||||||
|
dfDewey is developed by (in alphabetical order):
|
||||||
|
|
||||||
|
* Google Inc. (*@google.com)
|
||||||
|
* Jason Solomon (solomonjason@gmail.com)
|
||||||
|
|
||||||
|
To reach the authors, please use the dfDewey development mailing list
|
||||||
|
<dfdewey-dev@googlegroups.com>.
|
8
MANIFEST.in
Normal file
8
MANIFEST.in
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
include AUTHORS LICENSE README.md
|
||||||
|
include requirements.txt dfvfs_requirements.txt
|
||||||
|
exclude run_tests.py
|
||||||
|
exclude .gitignore
|
||||||
|
exclude *.pyc
|
||||||
|
recursive-exclude dfdewey *_test.py
|
||||||
|
recursive-exclude dfdewey *.pyc
|
||||||
|
recursive-exclude test_data *
|
|
@ -12,6 +12,9 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
"""DFDewey Package."""
|
"""dfDewey Package.
|
||||||
|
|
||||||
__version__ = '20201113'
|
dfDewey is a digital forensics string extraction, indexing, and searching tool.
|
||||||
|
"""
|
||||||
|
|
||||||
|
__version__ = '20211019'
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
elasticsearch
|
elasticsearch
|
||||||
psycopg2-binary
|
psycopg2-binary
|
||||||
pytsk3
|
|
||||||
six
|
six
|
||||||
tabulate
|
tabulate
|
||||||
|
|
6
setup.cfg
Normal file
6
setup.cfg
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[metadata]
|
||||||
|
license_file = LICENSE
|
||||||
|
|
||||||
|
[sdist]
|
||||||
|
template = MANIFEST.in
|
||||||
|
manifest = MANIFEST
|
31
setup.py
31
setup.py
|
@ -17,11 +17,25 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from setuptools import find_packages
|
try:
|
||||||
from setuptools import setup
|
from setuptools import find_packages, setup
|
||||||
|
except ImportError:
|
||||||
|
from distutils.core import find_packages, setup
|
||||||
|
|
||||||
|
try:
|
||||||
|
from setuptools.commands.sdist import sdist
|
||||||
|
except ImportError:
|
||||||
|
from distutils.command.sdist import sdist
|
||||||
|
|
||||||
import dfdewey
|
import dfdewey
|
||||||
|
|
||||||
|
version_tuple = (sys.version_info[0], sys.version_info[1])
|
||||||
|
if version_tuple < (3, 6):
|
||||||
|
print((
|
||||||
|
'Unsupported Python version: {0:s}, version 3.6 or higher '
|
||||||
|
'required.').format(sys.version))
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
sys.path.insert(0, '.')
|
sys.path.insert(0, '.')
|
||||||
|
|
||||||
DFDEWEY_DESCRIPTION = (
|
DFDEWEY_DESCRIPTION = (
|
||||||
|
@ -36,13 +50,24 @@ setup(
|
||||||
version=dfdewey.__version__,
|
version=dfdewey.__version__,
|
||||||
description=DFDEWEY_DESCRIPTION,
|
description=DFDEWEY_DESCRIPTION,
|
||||||
license='Apache License, Version 2.0',
|
license='Apache License, Version 2.0',
|
||||||
|
url='https://github.com/google/dfdewey',
|
||||||
maintainer='dfDewey development team',
|
maintainer='dfDewey development team',
|
||||||
maintainer_email='dfdewey-dev@googlegroups.com',
|
maintainer_email='dfdewey-dev@googlegroups.com',
|
||||||
|
classifiers=[
|
||||||
|
'Development Status :: 3 - Alpha',
|
||||||
|
'Environment :: Console',
|
||||||
|
'Operating System :: OS Independent',
|
||||||
|
'Programming Language :: Python :: 3',
|
||||||
|
],
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
|
data_files=[
|
||||||
|
('share/doc/dfdewey', ['AUTHORS', 'LICENSE', 'README.md']),
|
||||||
|
],
|
||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
extras_require={
|
extras_require={
|
||||||
'dev': ['mock', 'nose', 'yapf', 'coverage']
|
'dev': ['mock', 'nose', 'yapf', 'coverage']
|
||||||
},
|
},
|
||||||
entry_points={'console_scripts': ['dfdewey=dfdewey.dfdcli:main']}
|
entry_points={'console_scripts': ['dfdewey=dfdewey.dfdcli:main']},
|
||||||
|
python_requires='>=3.6',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue