delete setup
This commit is contained in:
parent
fe027a363e
commit
fd8641299b
|
@ -1,17 +0,0 @@
|
|||
# -*- mode: python -*-
|
||||
a = Analysis(['main.py'],
|
||||
pathex=['C:\\Users\\tsouza\\PycharmProjects\\attribution_report'],
|
||||
hiddenimports=[],
|
||||
hookspath=None,
|
||||
runtime_hooks=None)
|
||||
pyz = PYZ(a.pure)
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
name='AttributionReport.exe',
|
||||
debug=False,
|
||||
strip=None,
|
||||
upx=True,
|
||||
console=True )
|
19
README.md
19
README.md
|
@ -1,19 +0,0 @@
|
|||
# Attribution Report
|
||||
|
||||
## Introduction
|
||||
|
||||
Attribution report is a report that compares a data dump from Salesforce, and a dump from Addgene's Deposit data.
|
||||
|
||||
|
||||
## Running
|
||||
|
||||
To run, either run dist/AttributionReport.exe, or run dist.mac/AttributionReport.app
|
||||
|
||||
|
||||
## Building
|
||||
|
||||
You can build this for a Mac by running:
|
||||
``` $ python setup.py py2app --dist-dir dist.mac ```
|
||||
|
||||
or you can build this for a PC by running:
|
||||
``` pyinstaller main.py --name=AttributionReport -F ```
|
|
@ -220,7 +220,7 @@ class AttributionReport(object):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = AttributionReport(months=6,footer_length=6)
|
||||
app = AttributionReport(months=6, footer_length=6)
|
||||
print "setup App"
|
||||
app.set_dataframe_deposit("/Users/tyrelsouza/Dropbox (Addgene)/Addgene Shared/Dev/Attribution Report/deposit_data.csv")
|
||||
print "set Deposit DF"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Versions/Current/Python
|
|
@ -1 +0,0 @@
|
|||
Versions/Current/Resources
|
Binary file not shown.
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||
<plist version="0.9">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>Python</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>Python Runtime and Library</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.python.python</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Python</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.7.10, (c) 2001-2015 Python Software Foundation.</string>
|
||||
<key>CFBundleLongVersionString</key>
|
||||
<string>2.7.10, (c) 2001-2015 Python Software Foundation.</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2.7.10</string>
|
||||
</dict>
|
||||
</plist>
|
File diff suppressed because it is too large
Load Diff
|
@ -1 +0,0 @@
|
|||
2.7
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,89 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>main</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>main</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>main</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.pythonmac.unspecified.main</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>main</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.0.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.0.0</string>
|
||||
<key>LSHasLocalizedDisplayName</key>
|
||||
<false/>
|
||||
<key>NSAppleScriptEnabled</key>
|
||||
<false/>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright not specified</string>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainMenu</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>PyMainFileNames</key>
|
||||
<array>
|
||||
<string>__boot__</string>
|
||||
</array>
|
||||
<key>PyOptions</key>
|
||||
<dict>
|
||||
<key>alias</key>
|
||||
<false/>
|
||||
<key>argv_emulation</key>
|
||||
<false/>
|
||||
<key>emulate_shell_environment</key>
|
||||
<false/>
|
||||
<key>no_chdir</key>
|
||||
<false/>
|
||||
<key>prefer_ppc</key>
|
||||
<false/>
|
||||
<key>site_packages</key>
|
||||
<false/>
|
||||
<key>use_faulthandler</key>
|
||||
<false/>
|
||||
<key>use_pythonpath</key>
|
||||
<false/>
|
||||
<key>verbose</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>PyResourcePackages</key>
|
||||
<array>
|
||||
</array>
|
||||
<key>PyRuntimeLocations</key>
|
||||
<array>
|
||||
<string>@executable_path/../Frameworks/Python.framework/Versions/2.7/Python</string>
|
||||
</array>
|
||||
<key>PythonInfoDict</key>
|
||||
<dict>
|
||||
<key>PythonExecutable</key>
|
||||
<string>/Users/tyrelsouza/.virtualenvs/julian_report/bin/python</string>
|
||||
<key>PythonLongVersion</key>
|
||||
<string>2.7.10 (default, Jun 1 2015, 09:44:56)
|
||||
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)]</string>
|
||||
<key>PythonShortVersion</key>
|
||||
<string>2.7</string>
|
||||
<key>py2app</key>
|
||||
<dict>
|
||||
<key>alias</key>
|
||||
<false/>
|
||||
<key>template</key>
|
||||
<string>app</string>
|
||||
<key>version</key>
|
||||
<string>0.9</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
APPL????
|
|
@ -1,81 +0,0 @@
|
|||
def _reset_sys_path():
|
||||
# Clear generic sys.path[0]
|
||||
import sys, os
|
||||
resources = os.environ['RESOURCEPATH']
|
||||
while sys.path[0] == resources:
|
||||
del sys.path[0]
|
||||
_reset_sys_path()
|
||||
|
||||
|
||||
def _chdir_resource():
|
||||
import os
|
||||
os.chdir(os.environ['RESOURCEPATH'])
|
||||
_chdir_resource()
|
||||
|
||||
|
||||
def _disable_linecache():
|
||||
import linecache
|
||||
def fake_getline(*args, **kwargs):
|
||||
return ''
|
||||
linecache.orig_getline = linecache.getline
|
||||
linecache.getline = fake_getline
|
||||
_disable_linecache()
|
||||
|
||||
|
||||
import re, sys
|
||||
cookie_re = re.compile(b"coding[:=]\s*([-\w.]+)")
|
||||
if sys.version_info[0] == 2:
|
||||
default_encoding = 'ascii'
|
||||
else:
|
||||
default_encoding = 'utf-8'
|
||||
|
||||
def guess_encoding(fp):
|
||||
for i in range(2):
|
||||
ln = fp.readline()
|
||||
|
||||
m = cookie_re.search(ln)
|
||||
if m is not None:
|
||||
return m.group(1).decode('ascii')
|
||||
|
||||
return default_encoding
|
||||
|
||||
def _run():
|
||||
global __file__
|
||||
import os, site
|
||||
sys.frozen = 'macosx_app'
|
||||
base = os.environ['RESOURCEPATH']
|
||||
|
||||
argv0 = os.path.basename(os.environ['ARGVZERO'])
|
||||
script = SCRIPT_MAP.get(argv0, DEFAULT_SCRIPT)
|
||||
|
||||
path = os.path.join(base, script)
|
||||
sys.argv[0] = __file__ = path
|
||||
if sys.version_info[0] == 2:
|
||||
with open(path, 'rU') as fp:
|
||||
source = fp.read() + "\n"
|
||||
else:
|
||||
with open(path, 'rb') as fp:
|
||||
encoding = guess_encoding(fp)
|
||||
|
||||
with open(path, 'r', encoding=encoding) as fp:
|
||||
source = fp.read() + '\n'
|
||||
exec(compile(source, path, 'exec'), globals(), globals())
|
||||
|
||||
|
||||
import os
|
||||
os.environ['MATPLOTLIBDATA'] = os.path.join(os.environ['RESOURCEPATH'], 'mpl-data')
|
||||
|
||||
|
||||
def _setup_ctypes():
|
||||
from ctypes.macholib import dyld
|
||||
import os
|
||||
frameworks = os.path.join(os.environ['RESOURCEPATH'], '..', 'Frameworks')
|
||||
dyld.DEFAULT_FRAMEWORK_FALLBACK.insert(0, frameworks)
|
||||
dyld.DEFAULT_LIBRARY_FALLBACK.insert(0, frameworks)
|
||||
|
||||
_setup_ctypes()
|
||||
|
||||
|
||||
DEFAULT_SCRIPT='main.py'
|
||||
SCRIPT_MAP={}
|
||||
_run()
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# This is the default apptemplate error script
|
||||
#
|
||||
if ( test -n "$2" ) ; then
|
||||
echo "$1 Error"
|
||||
echo "An unexpected error has occurred during execution of the main script"
|
||||
echo ""
|
||||
echo "$2: $3"
|
||||
echo ""
|
||||
echo "See the Console for a detailed traceback."
|
||||
else
|
||||
echo "$1 Error"
|
||||
|
||||
# Usage: ERRORURL <anURL> <a button label>, this is used by the
|
||||
# bundle runner to put up a dialog.
|
||||
#echo "ERRORURL: http://www.python.org/ Visit the Python Website
|
||||
# echo "ERRORURL: http://homepages.cwi.nl/~jack/macpython/index.html Visit the MacPython Website"
|
||||
fi
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user