Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
a9684730
Commit
a9684730
authored
10 years ago
by
Mark Haines
Browse files
Options
Downloads
Patches
Plain Diff
Add the 'setup_requires' and allow easy_install since jenkins uses them
parent
7ed971d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+5
-14
5 additions, 14 deletions
setup.py
with
5 additions
and
14 deletions
setup.py
+
5
−
14
View file @
a9684730
...
...
@@ -17,20 +17,6 @@
import
os
from
setuptools
import
setup
,
find_packages
import
setuptools.command.easy_install
def
no_easy_install
(
self
,
spec
,
*
args
,
**
kargs
):
raise
RuntimeError
(
"
Missing requirement %r. Please use pip to install this dependency.
"
"
See README.rst for instructions.
"
%
(
spec
,)
)
# Patch the easy_install command to prevent people accidentally installing
# depedencies using it.
setuptools
.
command
.
easy_install
.
easy_install
.
easy_install
=
no_easy_install
here
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
...
...
@@ -60,6 +46,11 @@ setup(
packages
=
find_packages
(
exclude
=
[
"
tests
"
,
"
tests.*
"
]),
description
=
"
Reference Synapse Home Server
"
,
install_requires
=
dependencies
[
"
REQUIREMENTS
"
].
keys
(),
setup_requires
=
[
"
Twisted==14.0.2
"
,
# Here to override setuptools_trial's dependency on Twisted>=2.4.0
"
setuptools_trial
"
,
"
mock
"
],
dependency_links
=
dependencies
[
"
DEPENDENCY_LINKS
"
],
include_package_data
=
True
,
zip_safe
=
False
,
...
...
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