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
d88f8ac6
Commit
d88f8ac6
authored
9 years ago
by
plusvic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug when running setup.py from its own directory
parent
c28922e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
setup.py
setup.py
+4
-1
No files found.
setup.py
View file @
d88f8ac6
...
@@ -95,7 +95,10 @@ class BuildCommand(build):
...
@@ -95,7 +95,10 @@ class BuildCommand(build):
def
run
(
self
):
def
run
(
self
):
"""Execute the build command."""
"""Execute the build command."""
os
.
chdir
(
os
.
path
.
dirname
(
__file__
))
base_dir
=
os
.
path
.
dirname
(
__file__
)
if
base_dir
:
os
.
chdir
(
base_dir
)
sources
=
[
'yara-python.c'
]
sources
=
[
'yara-python.c'
]
exclusions
=
[
'yara/libyara/modules/pe_utils.c'
]
exclusions
=
[
'yara/libyara/modules/pe_utils.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