Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #41 from zimmerman-zimmerman/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
kjod authored Dec 20, 2017
2 parents 0b7d23c + 2a7bab2 commit 0791baf
Show file tree
Hide file tree
Showing 8,497 changed files with 1,884,771 additions and 91 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 4 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ sudo sh bin/setup/install_dependencies.sh
```

Install a python virtual environment

## virtualenv

```
sudo apt-get install python-pip;
sudo pip install virtualenvwrapper;
Expand Down Expand Up @@ -64,3 +61,7 @@ python manage.py createsuperuser
python manage.py runserver
```

Eventually, you could add your modifications to the Django configuration in a new file at ZOOM/local_settings.py


After all this, you can access the admin area at localhost:8000/admin/. There's not much to see in the admin area, all actions actually happen from the ZOOM end instead of the ZOOM-CSV-MAPPER. To link ZOOM to the CSV-MAPPER, change the url in your ZOOM repo at /app/server/config/urls.js .
1 change: 1 addition & 0 deletions ZOOM/ZOOM/include/python2.7
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/UserDict.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/_abcoll.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/_weakrefset.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/abc.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/codecs.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/copy_reg.py
101 changes: 101 additions & 0 deletions ZOOM/ZOOM/lib/python2.7/distutils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
import os
import sys
import warnings
import imp
import opcode # opcode is not a virtualenv module, so we can use it to find the stdlib
# Important! To work on pypy, this must be a module that resides in the
# lib-python/modified-x.y.z directory

dirname = os.path.dirname

distutils_path = os.path.join(os.path.dirname(opcode.__file__), 'distutils')
if os.path.normpath(distutils_path) == os.path.dirname(os.path.normpath(__file__)):
warnings.warn(
"The virtualenv distutils package at %s appears to be in the same location as the system distutils?")
else:
__path__.insert(0, distutils_path)
real_distutils = imp.load_module("_virtualenv_distutils", None, distutils_path, ('', '', imp.PKG_DIRECTORY))
# Copy the relevant attributes
try:
__revision__ = real_distutils.__revision__
except AttributeError:
pass
__version__ = real_distutils.__version__

from distutils import dist, sysconfig

try:
basestring
except NameError:
basestring = str

## patch build_ext (distutils doesn't know how to get the libs directory
## path on windows - it hardcodes the paths around the patched sys.prefix)

if sys.platform == 'win32':
from distutils.command.build_ext import build_ext as old_build_ext
class build_ext(old_build_ext):
def finalize_options (self):
if self.library_dirs is None:
self.library_dirs = []
elif isinstance(self.library_dirs, basestring):
self.library_dirs = self.library_dirs.split(os.pathsep)

self.library_dirs.insert(0, os.path.join(sys.real_prefix, "Libs"))
old_build_ext.finalize_options(self)

from distutils.command import build_ext as build_ext_module
build_ext_module.build_ext = build_ext

## distutils.dist patches:

old_find_config_files = dist.Distribution.find_config_files
def find_config_files(self):
found = old_find_config_files(self)
system_distutils = os.path.join(distutils_path, 'distutils.cfg')
#if os.path.exists(system_distutils):
# found.insert(0, system_distutils)
# What to call the per-user config file
if os.name == 'posix':
user_filename = ".pydistutils.cfg"
else:
user_filename = "pydistutils.cfg"
user_filename = os.path.join(sys.prefix, user_filename)
if os.path.isfile(user_filename):
for item in list(found):
if item.endswith('pydistutils.cfg'):
found.remove(item)
found.append(user_filename)
return found
dist.Distribution.find_config_files = find_config_files

## distutils.sysconfig patches:

old_get_python_inc = sysconfig.get_python_inc
def sysconfig_get_python_inc(plat_specific=0, prefix=None):
if prefix is None:
prefix = sys.real_prefix
return old_get_python_inc(plat_specific, prefix)
sysconfig_get_python_inc.__doc__ = old_get_python_inc.__doc__
sysconfig.get_python_inc = sysconfig_get_python_inc

old_get_python_lib = sysconfig.get_python_lib
def sysconfig_get_python_lib(plat_specific=0, standard_lib=0, prefix=None):
if standard_lib and prefix is None:
prefix = sys.real_prefix
return old_get_python_lib(plat_specific, standard_lib, prefix)
sysconfig_get_python_lib.__doc__ = old_get_python_lib.__doc__
sysconfig.get_python_lib = sysconfig_get_python_lib

old_get_config_vars = sysconfig.get_config_vars
def sysconfig_get_config_vars(*args):
real_vars = old_get_config_vars(*args)
if sys.platform == 'win32':
lib_dir = os.path.join(sys.real_prefix, "libs")
if isinstance(real_vars, dict) and 'LIBDIR' not in real_vars:
real_vars['LIBDIR'] = lib_dir # asked for all
elif isinstance(real_vars, list) and 'LIBDIR' in args:
real_vars = real_vars + [lib_dir] # asked for list
return real_vars
sysconfig_get_config_vars.__doc__ = old_get_config_vars.__doc__
sysconfig.get_config_vars = sysconfig_get_config_vars
6 changes: 6 additions & 0 deletions ZOOM/ZOOM/lib/python2.7/distutils/distutils.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This is a config file local to this virtualenv installation
# You may include options that will be used by all distutils commands,
# and by easy_install. For instance:
#
# [easy_install]
# find_links = http://mylocalsite
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/encodings
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/fnmatch.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/genericpath.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/lib-dynload
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/linecache.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/locale.py
Empty file.
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/ntpath.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/orig-prefix.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/os.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/posixpath.py
1 change: 1 addition & 0 deletions ZOOM/ZOOM/lib/python2.7/re.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
UNKNOWN


Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pip
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) Django Software Foundation and individual contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of Django nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Metadata-Version: 2.0
Name: Django
Version: 1.10.3
Summary: A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Home-page: http://www.djangoproject.com/
Author: Django Software Foundation
Author-email: foundation@djangoproject.com
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: argon2
Requires-Dist: argon2-cffi (>=16.1.0); extra == 'argon2'
Provides-Extra: bcrypt
Requires-Dist: bcrypt; extra == 'bcrypt'

UNKNOWN


Loading

0 comments on commit 0791baf

Please sign in to comment.