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
473395ce
Commit
473395ce
authored
7 years ago
by
Victor Manuel Alvarez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issues in appveyor configuration
parent
db832eaf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
appveyor.yml
appveyor.yml
+3
-7
setup.py
setup.py
+1
-4
No files found.
appveyor.yml
View file @
473395ce
...
...
@@ -3,7 +3,7 @@ environment:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV
:
"
cmd
/E:ON
/V:ON
/C
run_with_env.cmd"
CMD_IN_ENV
:
"
cmd
/E:ON
/V:ON
/C
.
\\
appveyor
\\
run_with_env.cmd"
matrix
:
...
...
@@ -89,10 +89,6 @@ install:
# the parent CMD process).
-
"
SET
PATH=%PYTHON%;%PYTHON%
\\
Scripts;%PATH%"
# Add appveyor folder to PATH for allowing run_with_env to be run from
# anywhere
-
"
SET
PATH=C:
\\
projects
\\
yara-python
\\
appveyor;%PATH%"
# Check that we have the expected version and architecture for Python
-
"
python
--version"
-
"
python
-c
\"
import
struct;
print(struct.calcsize('P')
*
8)
\"
"
...
...
@@ -114,8 +110,8 @@ install:
-
cd jansson-%JANSSON_VERSION%
-
md build
-
cd build
-
"
%CMD_IN_ENV%
cmake
-DJANSSON_BUILD_DOCS=OFF
-G
\"
%VS%
\"
.."
-
"
%CMD_IN_ENV%
cmake
--build
.
--config
Release"
-
cmake -DJANSSON_BUILD_DOCS=OFF -G "%VS%" ..
-
cmake --build . --config Release
-
ctest --output-on-failure
-
cd ../../yara-python
...
...
This diff is collapsed.
Click to expand it.
setup.py
View file @
473395ce
...
...
@@ -211,10 +211,7 @@ class BuildExtCommand(build_ext):
if
self
.
enable_cuckoo
:
module
.
define_macros
.
append
((
'CUCKOO_MODULE'
,
'1'
))
if
building_for_windows
:
module
.
libraries
.
append
(
'jansson
%
s'
%
bits
)
else
:
module
.
libraries
.
append
(
'jansson'
)
module
.
libraries
.
append
(
'jansson'
)
else
:
exclusions
.
append
(
'yara/libyara/modules/cuckoo.c'
)
...
...
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