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
390dde43
Commit
390dde43
authored
May 17, 2017
by
Victor Manuel Alvarez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build with OpenSSL libraries included in appveyor
parent
4f1aac62
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
appveyor.yml
appveyor.yml
+3
-1
setup.py
setup.py
+12
-12
No files found.
appveyor.yml
View file @
390dde43
...
@@ -138,7 +138,9 @@ clone_script:
...
@@ -138,7 +138,9 @@ clone_script:
build_script
:
build_script
:
# Build the compiled extension
# Build the compiled extension
-
"
%CMD_IN_ENV%
python
setup.py
build
--enable-cuckoo
--library-dir=../jansson-%JANSSON_VERSION%/build/lib/Release
--include-dir=../jansson-%JANSSON_VERSION%/build/include"
-
"
%CMD_IN_ENV%
python
setup.py
build
--enable-cuckoo
--library-directories=
\"
../jansson-%JANSSON_VERSION%/build/lib/Release;c:/OpenSSL-Win%PYTHON_ARCH%/lib
\"
--include-directories=
\"
../jansson-%JANSSON_VERSION%/build/include;c:/OpenSSL-Win%PYTHON_ARCH%/include
\"
"
test_script
:
test_script
:
# Run the project tests
# Run the project tests
...
...
setup.py
View file @
390dde43
...
@@ -36,8 +36,8 @@ OPTIONS = [
...
@@ -36,8 +36,8 @@ OPTIONS = [
(
'enable-cuckoo'
,
None
,
'enable "cuckoo" module'
),
(
'enable-cuckoo'
,
None
,
'enable "cuckoo" module'
),
(
'enable-magic'
,
None
,
'enable "magic" module'
),
(
'enable-magic'
,
None
,
'enable "magic" module'
),
(
'enable-profiling'
,
None
,
'enable profiling features'
),
(
'enable-profiling'
,
None
,
'enable profiling features'
),
(
'library-dir
='
,
None
,
'library directory
'
),
(
'library-dir
ectories='
,
None
,
'additional library directories separated by semicolons
'
),
(
'include-dir
='
,
None
,
'include directory
'
)]
(
'include-dir
ectories='
,
None
,
'additional include directories separated by semicolons
'
)]
BOOLEAN_OPTIONS
=
[
BOOLEAN_OPTIONS
=
[
...
@@ -96,8 +96,8 @@ class BuildCommand(build):
...
@@ -96,8 +96,8 @@ class BuildCommand(build):
self
.
enable_magic
=
None
self
.
enable_magic
=
None
self
.
enable_cuckoo
=
None
self
.
enable_cuckoo
=
None
self
.
enable_profiling
=
None
self
.
enable_profiling
=
None
self
.
library_dir
=
None
self
.
library_dir
ectories
=
None
self
.
include_dir
=
None
self
.
include_dir
ectories
=
None
def
finalize_options
(
self
):
def
finalize_options
(
self
):
...
@@ -117,8 +117,8 @@ class BuildExtCommand(build_ext):
...
@@ -117,8 +117,8 @@ class BuildExtCommand(build_ext):
self
.
enable_magic
=
None
self
.
enable_magic
=
None
self
.
enable_cuckoo
=
None
self
.
enable_cuckoo
=
None
self
.
enable_profiling
=
None
self
.
enable_profiling
=
None
self
.
library_dir
=
None
self
.
library_dir
ectories
=
None
self
.
include_dir
=
None
self
.
include_dir
ectories
=
None
def
finalize_options
(
self
):
def
finalize_options
(
self
):
...
@@ -132,8 +132,8 @@ class BuildExtCommand(build_ext):
...
@@ -132,8 +132,8 @@ class BuildExtCommand(build_ext):
(
'enable_magic'
,
'enable_magic'
),
(
'enable_magic'
,
'enable_magic'
),
(
'enable_cuckoo'
,
'enable_cuckoo'
),
(
'enable_cuckoo'
,
'enable_cuckoo'
),
(
'enable_profiling'
,
'enable_profiling'
),
(
'enable_profiling'
,
'enable_profiling'
),
(
'library_dir
'
,
'library_dir
'
),
(
'library_dir
ectories'
,
'library_directories
'
),
(
'include_dir
'
,
'include_dir
'
))
(
'include_dir
ectories'
,
'include_directories
'
))
if
self
.
enable_magic
and
self
.
dynamic_linking
:
if
self
.
enable_magic
and
self
.
dynamic_linking
:
raise
distutils
.
errors
.
DistutilsOptionError
(
raise
distutils
.
errors
.
DistutilsOptionError
(
...
@@ -153,11 +153,11 @@ class BuildExtCommand(build_ext):
...
@@ -153,11 +153,11 @@ class BuildExtCommand(build_ext):
exclusions
=
[]
exclusions
=
[]
if
self
.
library_dir
:
if
self
.
library_dir
ectories
:
module
.
library_dirs
.
append
(
self
.
library_dir
)
module
.
library_dirs
.
extend
(
self
.
library_directories
.
split
(
';'
)
)
if
self
.
include_dir
:
if
self
.
include_dir
ectories
:
module
.
include_dirs
.
append
(
self
.
include_dir
)
module
.
include_dirs
.
extend
(
self
.
include_directories
.
split
(
';'
)
)
if
self
.
plat_name
in
(
'win32'
,
'win-amd64'
):
if
self
.
plat_name
in
(
'win32'
,
'win-amd64'
):
building_for_windows
=
True
building_for_windows
=
True
...
...
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