Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yara-python
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
yara-python
Commits
16a7d681
Commit
16a7d681
authored
9 years ago
by
plusvic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some small issues in setup.py
parent
43436768
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
setup.py
setup.py
+5
-5
No files found.
setup.py
View file @
16a7d681
...
...
@@ -69,8 +69,8 @@ class BuildCommand(build):
user_options
=
build
.
user_options
+
[
(
'dynamic-linking'
,
None
,
'link dynamically against libyara'
),
(
'enable-cuckoo'
,
None
,
'enable "cuckoo" module
(use with --static)
'
),
(
'enable-magic'
,
None
,
'enable "magic" module
(use with --static)
'
),
(
'enable-cuckoo'
,
None
,
'enable "cuckoo" module'
),
(
'enable-magic'
,
None
,
'enable "magic" module'
),
(
'enable-profiling'
,
None
,
'enable profiling features'
)]
boolean_options
=
build
.
boolean_options
+
[
...
...
@@ -85,10 +85,10 @@ class BuildCommand(build):
def
finalize_options
(
self
):
build
.
finalize_options
(
self
)
if
self
.
enable_magic
and
self
.
dynamic
:
if
self
.
enable_magic
and
self
.
dynamic
_linking
:
raise
distutils
.
errors
.
DistutilsOptionError
(
'--enable-magic can''t be used with --dynamic-linking'
)
if
self
.
enable_cuckoo
and
self
.
dynamic
:
if
self
.
enable_cuckoo
and
self
.
dynamic
_linking
:
raise
distutils
.
errors
.
DistutilsOptionError
(
'--enable-cuckoo can''t be used with --dynamic-linking'
)
...
...
@@ -105,7 +105,7 @@ class BuildCommand(build):
libraries
=
[
'yara'
]
include_dirs
=
[]
library_dirs
=
[]
compile_args
=
[
'-O3'
]
compile_args
=
[]
macros
=
[]
if
self
.
plat_name
in
(
'win32'
,
'win-amd64'
):
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment