Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
6da20f53
Commit
6da20f53
authored
Jan 13, 2010
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup.py: ignore duplicates in add_include_dir and add_library_dir
parent
03c3c6bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
setup.py
setup.py
+8
-4
No files found.
setup.py
View file @
6da20f53
...
...
@@ -51,12 +51,16 @@ def check_dir(path, must_exist):
sys
.
exit
(
msg
)
def
add_include_dir
(
path
,
must_exist
=
True
):
check_dir
(
path
,
must_exist
)
include_dirs
.
append
(
path
)
if
path
not
in
include_dirs
:
check_dir
(
path
,
must_exist
)
include_dirs
.
append
(
path
)
def
add_library_dir
(
path
,
must_exist
=
True
):
check_dir
(
path
,
must_exist
)
library_dirs
.
append
(
path
)
if
path
not
in
library_dirs
:
check_dir
(
path
,
must_exist
)
library_dirs
.
append
(
path
)
def
get_version_from_include_path
(
d
):
if
VERBOSE
:
...
...
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