Skip to content

Commit 94f9db6

Browse files
authored
Merge pull request #141 from william-billaud/master
Fix issue #140 : make project pip installable.
2 parents 46976a8 + 36d9bcd commit 94f9db6

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

__init.py__

Whitespace-only changes.

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
openpyxl==3.0.10
2-
sqlite3
1+
openpyxl==3.0.10

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
from setuptools import setup, find_packages
2-
from src.analyzeMFT.constants import VERSION
32

43
with open("README.md", "r", encoding="utf-8") as fh:
54
long_description = fh.read()
65

76
setup(
87
name='analyzeMFT',
9-
version=VERSION,
8+
version='3.0.6.6',
109
author='Benjamin Cance',
1110
author_email='[email protected]',
1211
package_dir={'': 'src'},
@@ -19,14 +18,12 @@
1918
description='Analyze the $MFT from a NTFS filesystem.',
2019
long_description=long_description,
2120
long_description_content_type='text/markdown',
22-
scripts=['analyzeMFT.py'],
2321
classifiers=[
2422
"Development Status :: 3 - Alpha",
2523
"Intended Audience :: Developers",
2624
"License :: OSI Approved :: MIT License",
2725
"Operating System :: OS Independent",
2826
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.6",
3027
"Programming Language :: Python :: 3.7",
3128
"Programming Language :: Python :: 3.8",
3229
"Programming Language :: Python :: 3.9",

src/analyzeMFT/constants.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
VERSION = '3.0.6.6'
1+
from importlib.metadata import version
2+
VERSION = version('analyzeMFT')
23

34
# File Record Flags
45
FILE_RECORD_IN_USE = 0x0001

0 commit comments

Comments
 (0)