FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/setupegg.py at master · genba/matplotlib · GitHub
genba
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
setupegg.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (19 loc) · 694 Bytes
Breadcrumbs
matplotlib
/
setupegg.py
Copy path
File metadata and controls
22 lines (19 loc) · 694 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
Poor man's setuptools script...
"""
import
os
import
sys
from
setuptools
import
setup
# Setupegg assumes the install tree and source tree are exactly the same. Since
# this is not the case, symlink the correct dateutil dir depending on which
# version of python is used
if
not
os
.
path
.
isdir
(
'lib/dateutil'
):
if
sys
.
version_info
[
0
]
>=
3
:
os
.
symlink
(
'dateutil_py3'
,
'lib/dateutil'
)
else
:
os
.
symlink
(
'dateutil_py2'
,
'lib/dateutil'
)
execfile
(
'setup.py'
,
{
'additional_params'
:
{
'namespace_packages'
: [
'mpl_toolkits'
],
#'entry_points': {'nose.plugins': ['KnownFailure = matplotlib.testing.noseclasses:KnownFailure', ] }
}})
Back
|
FazBrowse Home
|
New Git URL