Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/lib/capa/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
name="capa",
version="0.1",
packages=find_packages(exclude=["tests"]),
install_requires=["distribute>=0.6.28"],
install_requires=["setuptools"],
)
2 changes: 1 addition & 1 deletion common/lib/xmodule/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
version="0.1",
packages=find_packages(exclude=["tests"]),
install_requires=[
'distribute',
'setuptools',
'docopt',
'capa',
'path.py',
Expand Down
1 change: 0 additions & 1 deletion pavelib/prereqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
'requirements/edx/github.txt',
'requirements/edx/local.txt',
'requirements/edx/base.txt',
'requirements/edx/post.txt',
]

# Developers can have private requirements, for local copies of github repos,
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ celery==3.1.18
cssselect==0.9.1
dealer==2.0.4
defusedxml==0.4.1
distribute>=0.6.28, <0.7
django-babel-underscore==0.1.0
django-celery==3.1.16
django-countries==3.3
Expand Down Expand Up @@ -51,6 +50,7 @@ Markdown==2.2.1
--allow-unverified meliae
meliae==0.4.0
mongoengine==0.7.10
MySQL-python==1.2.5
networkx==1.7
nltk==2.0.5
nose==1.3.3
Expand Down
8 changes: 0 additions & 8 deletions requirements/edx/post.txt

This file was deleted.

3 changes: 3 additions & 0 deletions requirements/edx/pre.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# * @mollydb - to check licensing
# * One of @e0d, @jarv, or @feanil - to check system requirements

# Use a modern setuptools instead of distribute
setuptools==15.2

# Numpy and scipy can't be installed in the same pip run.
# Install numpy before other things to help resolve the problem.
numpy==1.6.2
Expand Down
21 changes: 0 additions & 21 deletions scripts/create-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,27 +441,6 @@ if [[ -n $compile ]]; then
rm -rf numpy-${NUMPY_VER} scipy-${SCIPY_VER}
fi

# building correct version of distribute from source
DISTRIBUTE_VER="0.6.28"
output "Building Distribute"
SITE_PACKAGES="$WORKON_HOME/edx-platform/lib/python2.7/site-packages"
cd "$SITE_PACKAGES"
curl -sSLO http://pypi.python.org/packages/source/d/distribute/distribute-${DISTRIBUTE_VER}.tar.gz
tar -xzvf distribute-${DISTRIBUTE_VER}.tar.gz
cd distribute-${DISTRIBUTE_VER}
python setup.py install
cd ..
rm distribute-${DISTRIBUTE_VER}.tar.gz

DISTRIBUTE_VERSION=`pip freeze | grep distribute`

if [[ "$DISTRIBUTE_VERSION" == "distribute==0.6.28" ]]; then
output "Distribute successfully installed"
else
error "Distribute failed to build correctly. This script requires a working version of Distribute 0.6.28 in your virtualenv's python installation"
exit 1
fi

case `uname -s` in
Darwin)
# on mac os x get the latest distribute and pip
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
setup(
name="Open edX",
version="0.2",
install_requires=['distribute'],
install_requires=['setuptools'],
requires=[],
# NOTE: These are not the names we should be installing. This tree should
# be reorganized to be a more conventional Python tree.
Expand Down