forked from log2timeline/plaso
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes for latest versions of setuptools and distutils (log2timeline…
- Loading branch information
1 parent
483f62a
commit f06212e
Showing
3 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[metadata] | ||
license_file = LICENSE | ||
license_files = LICENSE | ||
|
||
[sdist] | ||
template = MANIFEST.in | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -224,6 +224,12 @@ def parse_requirements_from_file(path): | |
'purpose is to extract timestamps from various files found on typical ' | ||
'computer systems and aggregate them.') | ||
|
||
command_classes = {'sdist_test_data': sdist} | ||
if BdistMSICommand: | ||
command_classes['bdist_msi'] = BdistMSICommand | ||
if BdistRPMCommand: | ||
command_classes['bdist_rpm'] = BdistRPMCommand | ||
|
||
setup( | ||
name='plaso', | ||
version=plaso.__version__, | ||
|
@@ -234,10 +240,7 @@ def parse_requirements_from_file(path): | |
url='https://github.com/log2timeline/plaso', | ||
maintainer='Log2Timeline maintainers', | ||
maintainer_email='[email protected]', | ||
cmdclass={ | ||
'bdist_msi': BdistMSICommand, | ||
'bdist_rpm': BdistRPMCommand, | ||
'sdist_test_data': sdist}, | ||
cmdclass=command_classes, | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Console', | ||
|