diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..9bcbfc4 --- /dev/null +++ b/AUTHORS @@ -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 +. diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..2ae609a --- /dev/null +++ b/MANIFEST.in @@ -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 * diff --git a/dfdewey/__init__.py b/dfdewey/__init__.py index 444ab20..aab9275 100644 --- a/dfdewey/__init__.py +++ b/dfdewey/__init__.py @@ -12,6 +12,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""DFDewey Package.""" +"""dfDewey Package. -__version__ = '20201113' +dfDewey is a digital forensics string extraction, indexing, and searching tool. +""" + +__version__ = '20211019' diff --git a/requirements.txt b/requirements.txt index 21381ba..9db584d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ elasticsearch psycopg2-binary -pytsk3 six tabulate diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..95d5b7c --- /dev/null +++ b/setup.cfg @@ -0,0 +1,6 @@ +[metadata] +license_file = LICENSE + +[sdist] +template = MANIFEST.in +manifest = MANIFEST diff --git a/setup.py b/setup.py index 35825ae..f218dbe 100644 --- a/setup.py +++ b/setup.py @@ -17,11 +17,25 @@ import sys -from setuptools import find_packages -from setuptools import setup +try: + 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 +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, '.') DFDEWEY_DESCRIPTION = ( @@ -36,13 +50,24 @@ setup( version=dfdewey.__version__, description=DFDEWEY_DESCRIPTION, license='Apache License, Version 2.0', + url='https://github.com/google/dfdewey', maintainer='dfDewey development team', maintainer_email='dfdewey-dev@googlegroups.com', + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Environment :: Console', + 'Operating System :: OS Independent', + 'Programming Language :: Python :: 3', + ], packages=find_packages(), include_package_data=True, + data_files=[ + ('share/doc/dfdewey', ['AUTHORS', 'LICENSE', 'README.md']), + ], install_requires=requirements, extras_require={ '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', )