Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
6c061891
Commit
6c061891
authored
9 years ago
by
Masood Malekghassemi
Browse files
Options
Downloads
Patches
Plain Diff
Use a not-broken setuptools
parent
52676ba0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/run_tests/build_artifact_python.sh
+6
-7
6 additions, 7 deletions
tools/run_tests/build_artifact_python.sh
with
6 additions
and
7 deletions
tools/run_tests/build_artifact_python.sh
+
6
−
7
View file @
6c061891
...
@@ -35,15 +35,18 @@ cd $(dirname $0)/../..
...
@@ -35,15 +35,18 @@ cd $(dirname $0)/../..
if
[
"
$SKIP_PIP_INSTALL
"
==
""
]
if
[
"
$SKIP_PIP_INSTALL
"
==
""
]
then
then
pip
install
--upgrade
six
pip
install
--upgrade
six
pip
install
--upgrade
setuptools
# There's a bug in newer versions of setuptools (see
# https://bitbucket.org/pypa/setuptools/issues/503/pkg_resources_vendorpackagingrequirementsi)
pip
install
--upgrade
'setuptools==18'
pip
install
-rrequirements
.txt
pip
install
-rrequirements
.txt
fi
fi
export
GRPC_PYTHON_USE_CUSTOM_BDIST
=
0
export
GRPC_PYTHON_BUILD_WITH_CYTHON
=
1
# Build the source distribution first because MANIFEST.in cannot override
# Build the source distribution first because MANIFEST.in cannot override
# exclusion of built shared objects among package resources (for some
# exclusion of built shared objects among package resources (for some
# inexplicable reason).
# inexplicable reason).
GRPC_PYTHON_USE_CUSTOM_BDIST
=
0
\
GRPC_PYTHON_BUILD_WITH_CYTHON
=
1
\
${
SETARCH_CMD
}
python setup.py
\
${
SETARCH_CMD
}
python setup.py
\
sdist
sdist
...
@@ -51,15 +54,11 @@ ${SETARCH_CMD} python setup.py \
...
@@ -51,15 +54,11 @@ ${SETARCH_CMD} python setup.py \
# and thus ought to be run in a shell command separate of others. Further, it
# and thus ought to be run in a shell command separate of others. Further, it
# trashes the actual bdist_wheel output, so it should be run first so that
# trashes the actual bdist_wheel output, so it should be run first so that
# bdist_wheel may be run unmolested.
# bdist_wheel may be run unmolested.
GRPC_PYTHON_USE_CUSTOM_BDIST
=
0
\
GRPC_PYTHON_BUILD_WITH_CYTHON
=
1
\
${
SETARCH_CMD
}
python setup.py
\
${
SETARCH_CMD
}
python setup.py
\
build_tagged_ext
build_tagged_ext
# Wheel has a bug where directories don't get excluded.
# Wheel has a bug where directories don't get excluded.
# https://bitbucket.org/pypa/wheel/issues/99/cannot-exclude-directory
# https://bitbucket.org/pypa/wheel/issues/99/cannot-exclude-directory
GRPC_PYTHON_USE_CUSTOM_BDIST
=
0
\
GRPC_PYTHON_BUILD_WITH_CYTHON
=
1
\
${
SETARCH_CMD
}
python setup.py
\
${
SETARCH_CMD
}
python setup.py
\
bdist_wheel
bdist_wheel
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment