Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
ORG.Asm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ORG.Asm
ORG.Asm
Commits
1912bd40
Commit
1912bd40
authored
Nov 13, 2014
by
Eric Coissac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No commit message
No commit message
parent
49104d21
Changes
201
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
201 changed files
with
60658 additions
and
346 deletions
+60658
-346
distutils.ext/obidistutils/serenity/checkpackage.py
distutils.ext/obidistutils/serenity/checkpackage.py
+4
-1
distutils.ext/obidistutils/serenity/checkpip.py
distutils.ext/obidistutils/serenity/checkpip.py
+44
-12
doc/sphinx/source/index.rst
doc/sphinx/source/index.rst
+2
-1
doc/sphinx/source/indexer.rst
doc/sphinx/source/indexer.rst
+0
-0
doc/sphinx/source/mitochondrion.rst
doc/sphinx/source/mitochondrion.rst
+11
-10
get_orgasm/get-orgasm.py
get_orgasm/get-orgasm.py
+259
-284
get_orgasm/getorgasm/pip/__init__.py
get_orgasm/getorgasm/pip/__init__.py
+277
-0
get_orgasm/getorgasm/pip/__main__.py
get_orgasm/getorgasm/pip/__main__.py
+7
-0
get_orgasm/getorgasm/pip/_vendor/__init__.py
get_orgasm/getorgasm/pip/_vendor/__init__.py
+8
-0
get_orgasm/getorgasm/pip/_vendor/_markerlib/__init__.py
get_orgasm/getorgasm/pip/_vendor/_markerlib/__init__.py
+16
-0
get_orgasm/getorgasm/pip/_vendor/_markerlib/markers.py
get_orgasm/getorgasm/pip/_vendor/_markerlib/markers.py
+119
-0
get_orgasm/getorgasm/pip/_vendor/colorama/__init__.py
get_orgasm/getorgasm/pip/_vendor/colorama/__init__.py
+7
-0
get_orgasm/getorgasm/pip/_vendor/colorama/ansi.py
get_orgasm/getorgasm/pip/_vendor/colorama/ansi.py
+50
-0
get_orgasm/getorgasm/pip/_vendor/colorama/ansitowin32.py
get_orgasm/getorgasm/pip/_vendor/colorama/ansitowin32.py
+190
-0
get_orgasm/getorgasm/pip/_vendor/colorama/initialise.py
get_orgasm/getorgasm/pip/_vendor/colorama/initialise.py
+56
-0
get_orgasm/getorgasm/pip/_vendor/colorama/win32.py
get_orgasm/getorgasm/pip/_vendor/colorama/win32.py
+137
-0
get_orgasm/getorgasm/pip/_vendor/colorama/winterm.py
get_orgasm/getorgasm/pip/_vendor/colorama/winterm.py
+120
-0
get_orgasm/getorgasm/pip/_vendor/distlib/__init__.py
get_orgasm/getorgasm/pip/_vendor/distlib/__init__.py
+23
-0
get_orgasm/getorgasm/pip/_vendor/distlib/_backport/__init__.py
...rgasm/getorgasm/pip/_vendor/distlib/_backport/__init__.py
+6
-0
get_orgasm/getorgasm/pip/_vendor/distlib/_backport/misc.py
get_orgasm/getorgasm/pip/_vendor/distlib/_backport/misc.py
+41
-0
get_orgasm/getorgasm/pip/_vendor/distlib/_backport/shutil.py
get_orgasm/getorgasm/pip/_vendor/distlib/_backport/shutil.py
+761
-0
get_orgasm/getorgasm/pip/_vendor/distlib/_backport/sysconfig.cfg
...asm/getorgasm/pip/_vendor/distlib/_backport/sysconfig.cfg
+84
-0
get_orgasm/getorgasm/pip/_vendor/distlib/_backport/sysconfig.py
...gasm/getorgasm/pip/_vendor/distlib/_backport/sysconfig.py
+788
-0
get_orgasm/getorgasm/pip/_vendor/distlib/_backport/tarfile.py
...orgasm/getorgasm/pip/_vendor/distlib/_backport/tarfile.py
+2607
-0
get_orgasm/getorgasm/pip/_vendor/distlib/compat.py
get_orgasm/getorgasm/pip/_vendor/distlib/compat.py
+1064
-0
get_orgasm/getorgasm/pip/_vendor/distlib/database.py
get_orgasm/getorgasm/pip/_vendor/distlib/database.py
+1301
-0
get_orgasm/getorgasm/pip/_vendor/distlib/index.py
get_orgasm/getorgasm/pip/_vendor/distlib/index.py
+488
-0
get_orgasm/getorgasm/pip/_vendor/distlib/locators.py
get_orgasm/getorgasm/pip/_vendor/distlib/locators.py
+1194
-0
get_orgasm/getorgasm/pip/_vendor/distlib/manifest.py
get_orgasm/getorgasm/pip/_vendor/distlib/manifest.py
+364
-0
get_orgasm/getorgasm/pip/_vendor/distlib/markers.py
get_orgasm/getorgasm/pip/_vendor/distlib/markers.py
+190
-0
get_orgasm/getorgasm/pip/_vendor/distlib/metadata.py
get_orgasm/getorgasm/pip/_vendor/distlib/metadata.py
+1026
-0
get_orgasm/getorgasm/pip/_vendor/distlib/resources.py
get_orgasm/getorgasm/pip/_vendor/distlib/resources.py
+317
-0
get_orgasm/getorgasm/pip/_vendor/distlib/scripts.py
get_orgasm/getorgasm/pip/_vendor/distlib/scripts.py
+323
-0
get_orgasm/getorgasm/pip/_vendor/distlib/t32.exe
get_orgasm/getorgasm/pip/_vendor/distlib/t32.exe
+0
-0
get_orgasm/getorgasm/pip/_vendor/distlib/t64.exe
get_orgasm/getorgasm/pip/_vendor/distlib/t64.exe
+0
-0
get_orgasm/getorgasm/pip/_vendor/distlib/util.py
get_orgasm/getorgasm/pip/_vendor/distlib/util.py
+1575
-0
get_orgasm/getorgasm/pip/_vendor/distlib/version.py
get_orgasm/getorgasm/pip/_vendor/distlib/version.py
+721
-0
get_orgasm/getorgasm/pip/_vendor/distlib/w32.exe
get_orgasm/getorgasm/pip/_vendor/distlib/w32.exe
+0
-0
get_orgasm/getorgasm/pip/_vendor/distlib/w64.exe
get_orgasm/getorgasm/pip/_vendor/distlib/w64.exe
+0
-0
get_orgasm/getorgasm/pip/_vendor/distlib/wheel.py
get_orgasm/getorgasm/pip/_vendor/distlib/wheel.py
+958
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/__init__.py
get_orgasm/getorgasm/pip/_vendor/html5lib/__init__.py
+23
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/constants.py
get_orgasm/getorgasm/pip/_vendor/html5lib/constants.py
+3104
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/__init__.py
...orgasm/getorgasm/pip/_vendor/html5lib/filters/__init__.py
+0
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/_base.py
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/_base.py
+12
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/alphabeticalattributes.py
...sm/pip/_vendor/html5lib/filters/alphabeticalattributes.py
+20
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/inject_meta_charset.py
...rgasm/pip/_vendor/html5lib/filters/inject_meta_charset.py
+65
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/lint.py
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/lint.py
+93
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/optionaltags.py
...sm/getorgasm/pip/_vendor/html5lib/filters/optionaltags.py
+205
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/sanitizer.py
...rgasm/getorgasm/pip/_vendor/html5lib/filters/sanitizer.py
+12
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/filters/whitespace.py
...gasm/getorgasm/pip/_vendor/html5lib/filters/whitespace.py
+38
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/html5parser.py
get_orgasm/getorgasm/pip/_vendor/html5lib/html5parser.py
+2713
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/ihatexml.py
get_orgasm/getorgasm/pip/_vendor/html5lib/ihatexml.py
+285
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/inputstream.py
get_orgasm/getorgasm/pip/_vendor/html5lib/inputstream.py
+881
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/sanitizer.py
get_orgasm/getorgasm/pip/_vendor/html5lib/sanitizer.py
+271
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/serializer/__init__.py
...asm/getorgasm/pip/_vendor/html5lib/serializer/__init__.py
+16
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/serializer/htmlserializer.py
...torgasm/pip/_vendor/html5lib/serializer/htmlserializer.py
+320
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/tokenizer.py
get_orgasm/getorgasm/pip/_vendor/html5lib/tokenizer.py
+1731
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treeadapters/__init__.py
...m/getorgasm/pip/_vendor/html5lib/treeadapters/__init__.py
+0
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treeadapters/sax.py
...orgasm/getorgasm/pip/_vendor/html5lib/treeadapters/sax.py
+44
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treebuilders/__init__.py
...m/getorgasm/pip/_vendor/html5lib/treebuilders/__init__.py
+76
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treebuilders/_base.py
...gasm/getorgasm/pip/_vendor/html5lib/treebuilders/_base.py
+377
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treebuilders/dom.py
...orgasm/getorgasm/pip/_vendor/html5lib/treebuilders/dom.py
+227
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treebuilders/etree.py
...gasm/getorgasm/pip/_vendor/html5lib/treebuilders/etree.py
+337
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treebuilders/etree_lxml.py
...getorgasm/pip/_vendor/html5lib/treebuilders/etree_lxml.py
+369
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treewalkers/__init__.py
...sm/getorgasm/pip/_vendor/html5lib/treewalkers/__init__.py
+57
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treewalkers/_base.py
...rgasm/getorgasm/pip/_vendor/html5lib/treewalkers/_base.py
+200
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treewalkers/dom.py
get_orgasm/getorgasm/pip/_vendor/html5lib/treewalkers/dom.py
+46
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treewalkers/etree.py
...rgasm/getorgasm/pip/_vendor/html5lib/treewalkers/etree.py
+138
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treewalkers/genshistream.py
...etorgasm/pip/_vendor/html5lib/treewalkers/genshistream.py
+69
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treewalkers/lxmletree.py
...m/getorgasm/pip/_vendor/html5lib/treewalkers/lxmletree.py
+208
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/treewalkers/pulldom.py
...asm/getorgasm/pip/_vendor/html5lib/treewalkers/pulldom.py
+63
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/trie/__init__.py
get_orgasm/getorgasm/pip/_vendor/html5lib/trie/__init__.py
+12
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/trie/_base.py
get_orgasm/getorgasm/pip/_vendor/html5lib/trie/_base.py
+37
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/trie/datrie.py
get_orgasm/getorgasm/pip/_vendor/html5lib/trie/datrie.py
+44
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/trie/py.py
get_orgasm/getorgasm/pip/_vendor/html5lib/trie/py.py
+67
-0
get_orgasm/getorgasm/pip/_vendor/html5lib/utils.py
get_orgasm/getorgasm/pip/_vendor/html5lib/utils.py
+82
-0
get_orgasm/getorgasm/pip/_vendor/pkg_resources.py
get_orgasm/getorgasm/pip/_vendor/pkg_resources.py
+2762
-0
get_orgasm/getorgasm/pip/_vendor/re-vendor.py
get_orgasm/getorgasm/pip/_vendor/re-vendor.py
+34
-0
get_orgasm/getorgasm/pip/_vendor/requests/__init__.py
get_orgasm/getorgasm/pip/_vendor/requests/__init__.py
+77
-0
get_orgasm/getorgasm/pip/_vendor/requests/adapters.py
get_orgasm/getorgasm/pip/_vendor/requests/adapters.py
+388
-0
get_orgasm/getorgasm/pip/_vendor/requests/api.py
get_orgasm/getorgasm/pip/_vendor/requests/api.py
+120
-0
get_orgasm/getorgasm/pip/_vendor/requests/auth.py
get_orgasm/getorgasm/pip/_vendor/requests/auth.py
+193
-0
get_orgasm/getorgasm/pip/_vendor/requests/cacert.pem
get_orgasm/getorgasm/pip/_vendor/requests/cacert.pem
+5026
-0
get_orgasm/getorgasm/pip/_vendor/requests/certs.py
get_orgasm/getorgasm/pip/_vendor/requests/certs.py
+24
-0
get_orgasm/getorgasm/pip/_vendor/requests/compat.py
get_orgasm/getorgasm/pip/_vendor/requests/compat.py
+115
-0
get_orgasm/getorgasm/pip/_vendor/requests/cookies.py
get_orgasm/getorgasm/pip/_vendor/requests/cookies.py
+454
-0
get_orgasm/getorgasm/pip/_vendor/requests/exceptions.py
get_orgasm/getorgasm/pip/_vendor/requests/exceptions.py
+75
-0
get_orgasm/getorgasm/pip/_vendor/requests/hooks.py
get_orgasm/getorgasm/pip/_vendor/requests/hooks.py
+45
-0
get_orgasm/getorgasm/pip/_vendor/requests/models.py
get_orgasm/getorgasm/pip/_vendor/requests/models.py
+803
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/__init__.py
...rgasm/getorgasm/pip/_vendor/requests/packages/__init__.py
+3
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/__init__.py
...torgasm/pip/_vendor/requests/packages/chardet/__init__.py
+32
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/big5freq.py
...torgasm/pip/_vendor/requests/packages/chardet/big5freq.py
+925
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/big5prober.py
...rgasm/pip/_vendor/requests/packages/chardet/big5prober.py
+42
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/chardetect.py
...rgasm/pip/_vendor/requests/packages/chardet/chardetect.py
+46
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/chardistribution.py
...pip/_vendor/requests/packages/chardet/chardistribution.py
+231
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/charsetgroupprober.py
...p/_vendor/requests/packages/chardet/charsetgroupprober.py
+106
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/charsetprober.py
...sm/pip/_vendor/requests/packages/chardet/charsetprober.py
+62
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/codingstatemachine.py
...p/_vendor/requests/packages/chardet/codingstatemachine.py
+61
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/compat.py
...getorgasm/pip/_vendor/requests/packages/chardet/compat.py
+34
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/constants.py
...orgasm/pip/_vendor/requests/packages/chardet/constants.py
+39
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/cp949prober.py
...gasm/pip/_vendor/requests/packages/chardet/cp949prober.py
+44
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/escprober.py
...orgasm/pip/_vendor/requests/packages/chardet/escprober.py
+86
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/escsm.py
.../getorgasm/pip/_vendor/requests/packages/chardet/escsm.py
+242
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/eucjpprober.py
...gasm/pip/_vendor/requests/packages/chardet/eucjpprober.py
+90
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/euckrfreq.py
...orgasm/pip/_vendor/requests/packages/chardet/euckrfreq.py
+596
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/euckrprober.py
...gasm/pip/_vendor/requests/packages/chardet/euckrprober.py
+42
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/euctwfreq.py
...orgasm/pip/_vendor/requests/packages/chardet/euctwfreq.py
+428
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/euctwprober.py
...gasm/pip/_vendor/requests/packages/chardet/euctwprober.py
+41
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/gb2312freq.py
...rgasm/pip/_vendor/requests/packages/chardet/gb2312freq.py
+472
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/gb2312prober.py
...asm/pip/_vendor/requests/packages/chardet/gb2312prober.py
+41
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/hebrewprober.py
...asm/pip/_vendor/requests/packages/chardet/hebrewprober.py
+283
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/jisfreq.py
...etorgasm/pip/_vendor/requests/packages/chardet/jisfreq.py
+569
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/jpcntx.py
...getorgasm/pip/_vendor/requests/packages/chardet/jpcntx.py
+219
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/langbulgarianmodel.py
...p/_vendor/requests/packages/chardet/langbulgarianmodel.py
+229
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/langcyrillicmodel.py
...ip/_vendor/requests/packages/chardet/langcyrillicmodel.py
+329
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/langgreekmodel.py
...m/pip/_vendor/requests/packages/chardet/langgreekmodel.py
+225
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/langhebrewmodel.py
.../pip/_vendor/requests/packages/chardet/langhebrewmodel.py
+201
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/langhungarianmodel.py
...p/_vendor/requests/packages/chardet/langhungarianmodel.py
+225
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/langthaimodel.py
...sm/pip/_vendor/requests/packages/chardet/langthaimodel.py
+200
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/latin1prober.py
...asm/pip/_vendor/requests/packages/chardet/latin1prober.py
+139
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/mbcharsetprober.py
.../pip/_vendor/requests/packages/chardet/mbcharsetprober.py
+86
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/mbcsgroupprober.py
.../pip/_vendor/requests/packages/chardet/mbcsgroupprober.py
+54
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/mbcssm.py
...getorgasm/pip/_vendor/requests/packages/chardet/mbcssm.py
+575
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/sbcharsetprober.py
.../pip/_vendor/requests/packages/chardet/sbcharsetprober.py
+120
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/sbcsgroupprober.py
.../pip/_vendor/requests/packages/chardet/sbcsgroupprober.py
+69
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/sjisprober.py
...rgasm/pip/_vendor/requests/packages/chardet/sjisprober.py
+91
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/universaldetector.py
...ip/_vendor/requests/packages/chardet/universaldetector.py
+170
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/chardet/utf8prober.py
...rgasm/pip/_vendor/requests/packages/chardet/utf8prober.py
+76
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/__init__.py
...torgasm/pip/_vendor/requests/packages/urllib3/__init__.py
+58
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/_collections.py
...asm/pip/_vendor/requests/packages/urllib3/_collections.py
+205
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/connection.py
...rgasm/pip/_vendor/requests/packages/urllib3/connection.py
+204
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/connectionpool.py
...m/pip/_vendor/requests/packages/urllib3/connectionpool.py
+710
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/contrib/__init__.py
...pip/_vendor/requests/packages/urllib3/contrib/__init__.py
+0
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/contrib/ntlmpool.py
...pip/_vendor/requests/packages/urllib3/contrib/ntlmpool.py
+120
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py
...ip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py
+422
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/exceptions.py
...rgasm/pip/_vendor/requests/packages/urllib3/exceptions.py
+126
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/fields.py
...getorgasm/pip/_vendor/requests/packages/urllib3/fields.py
+177
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/filepost.py
...torgasm/pip/_vendor/requests/packages/urllib3/filepost.py
+100
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/packages/__init__.py
...ip/_vendor/requests/packages/urllib3/packages/__init__.py
+4
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/packages/ordered_dict.py
...vendor/requests/packages/urllib3/packages/ordered_dict.py
+260
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/packages/six.py
...asm/pip/_vendor/requests/packages/urllib3/packages/six.py
+385
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py
.../packages/urllib3/packages/ssl_match_hostname/__init__.py
+13
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py
...es/urllib3/packages/ssl_match_hostname/_implementation.py
+105
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/poolmanager.py
...gasm/pip/_vendor/requests/packages/urllib3/poolmanager.py
+258
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/request.py
...etorgasm/pip/_vendor/requests/packages/urllib3/request.py
+141
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/response.py
...torgasm/pip/_vendor/requests/packages/urllib3/response.py
+308
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/util/__init__.py
...sm/pip/_vendor/requests/packages/urllib3/util/__init__.py
+27
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/util/connection.py
.../pip/_vendor/requests/packages/urllib3/util/connection.py
+45
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/util/request.py
...asm/pip/_vendor/requests/packages/urllib3/util/request.py
+68
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/util/response.py
...sm/pip/_vendor/requests/packages/urllib3/util/response.py
+13
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/util/ssl_.py
...orgasm/pip/_vendor/requests/packages/urllib3/util/ssl_.py
+133
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/util/timeout.py
...asm/pip/_vendor/requests/packages/urllib3/util/timeout.py
+234
-0
get_orgasm/getorgasm/pip/_vendor/requests/packages/urllib3/util/url.py
...torgasm/pip/_vendor/requests/packages/urllib3/util/url.py
+162
-0
get_orgasm/getorgasm/pip/_vendor/requests/sessions.py
get_orgasm/getorgasm/pip/_vendor/requests/sessions.py
+637
-0
get_orgasm/getorgasm/pip/_vendor/requests/status_codes.py
get_orgasm/getorgasm/pip/_vendor/requests/status_codes.py
+88
-0
get_orgasm/getorgasm/pip/_vendor/requests/structures.py
get_orgasm/getorgasm/pip/_vendor/requests/structures.py
+127
-0
get_orgasm/getorgasm/pip/_vendor/requests/utils.py
get_orgasm/getorgasm/pip/_vendor/requests/utils.py
+673
-0
get_orgasm/getorgasm/pip/_vendor/six.py
get_orgasm/getorgasm/pip/_vendor/six.py
+646
-0
get_orgasm/getorgasm/pip/backwardcompat/__init__.py
get_orgasm/getorgasm/pip/backwardcompat/__init__.py
+138
-0
get_orgasm/getorgasm/pip/basecommand.py
get_orgasm/getorgasm/pip/basecommand.py
+201
-0
get_orgasm/getorgasm/pip/baseparser.py
get_orgasm/getorgasm/pip/baseparser.py
+224
-0
get_orgasm/getorgasm/pip/cmdoptions.py
get_orgasm/getorgasm/pip/cmdoptions.py
+371
-0
get_orgasm/getorgasm/pip/commands/__init__.py
get_orgasm/getorgasm/pip/commands/__init__.py
+88
-0
get_orgasm/getorgasm/pip/commands/bundle.py
get_orgasm/getorgasm/pip/commands/bundle.py
+42
-0
get_orgasm/getorgasm/pip/commands/completion.py
get_orgasm/getorgasm/pip/commands/completion.py
+59
-0
get_orgasm/getorgasm/pip/commands/freeze.py
get_orgasm/getorgasm/pip/commands/freeze.py
+114
-0
get_orgasm/getorgasm/pip/commands/help.py
get_orgasm/getorgasm/pip/commands/help.py
+33
-0
get_orgasm/getorgasm/pip/commands/install.py
get_orgasm/getorgasm/pip/commands/install.py
+314
-0
get_orgasm/getorgasm/pip/commands/list.py
get_orgasm/getorgasm/pip/commands/list.py
+162
-0
get_orgasm/getorgasm/pip/commands/search.py
get_orgasm/getorgasm/pip/commands/search.py
+132
-0
get_orgasm/getorgasm/pip/commands/show.py
get_orgasm/getorgasm/pip/commands/show.py
+80
-0
get_orgasm/getorgasm/pip/commands/uninstall.py
get_orgasm/getorgasm/pip/commands/uninstall.py
+59
-0
get_orgasm/getorgasm/pip/commands/unzip.py
get_orgasm/getorgasm/pip/commands/unzip.py
+7
-0
get_orgasm/getorgasm/pip/commands/wheel.py
get_orgasm/getorgasm/pip/commands/wheel.py
+195
-0
get_orgasm/getorgasm/pip/commands/zip.py
get_orgasm/getorgasm/pip/commands/zip.py
+351
-0
get_orgasm/getorgasm/pip/download.py
get_orgasm/getorgasm/pip/download.py
+644
-0
get_orgasm/getorgasm/pip/exceptions.py
get_orgasm/getorgasm/pip/exceptions.py
+46
-0
get_orgasm/getorgasm/pip/index.py
get_orgasm/getorgasm/pip/index.py
+990
-0
get_orgasm/getorgasm/pip/locations.py
get_orgasm/getorgasm/pip/locations.py
+172
-0
get_orgasm/getorgasm/pip/log.py
get_orgasm/getorgasm/pip/log.py
+276
-0
get_orgasm/getorgasm/pip/pep425tags.py
get_orgasm/getorgasm/pip/pep425tags.py
+102
-0
get_orgasm/getorgasm/pip/req.py
get_orgasm/getorgasm/pip/req.py
+1931
-0
get_orgasm/getorgasm/pip/runner.py
get_orgasm/getorgasm/pip/runner.py
+18
-0
get_orgasm/getorgasm/pip/status_codes.py
get_orgasm/getorgasm/pip/status_codes.py
+6
-0
get_orgasm/getorgasm/pip/util.py
get_orgasm/getorgasm/pip/util.py
+720
-0
get_orgasm/getorgasm/pip/vcs/__init__.py
get_orgasm/getorgasm/pip/vcs/__init__.py
+251
-0
get_orgasm/getorgasm/pip/vcs/bazaar.py
get_orgasm/getorgasm/pip/vcs/bazaar.py
+131
-0
get_orgasm/getorgasm/pip/vcs/git.py
get_orgasm/getorgasm/pip/vcs/git.py
+194
-0
get_orgasm/getorgasm/pip/vcs/mercurial.py
get_orgasm/getorgasm/pip/vcs/mercurial.py
+151
-0
get_orgasm/getorgasm/pip/vcs/subversion.py
get_orgasm/getorgasm/pip/vcs/subversion.py
+273
-0
get_orgasm/getorgasm/pip/wheel.py
get_orgasm/getorgasm/pip/wheel.py
+560
-0
python/orgasm/__init__.py
python/orgasm/__init__.py
+6
-6
python/orgasm/assembler/_assembler.pyx
python/orgasm/assembler/_assembler.pyx
+1
-0
python/orgasm/backtranslate/_ahocorasick.pyx
python/orgasm/backtranslate/_ahocorasick.pyx
+0
-1
python/orgasm/command/index.py
python/orgasm/command/index.py
+15
-0
python/orgasm/multialign/__init__.py
python/orgasm/multialign/__init__.py
+1
-1
python/orgasm/samples/__init__.py
python/orgasm/samples/__init__.py
+9
-0
python/orgasm/tango.py
python/orgasm/tango.py
+55
-29
python/orgasm/utils/dna.pxd
python/orgasm/utils/dna.pxd
+2
-1
python/orgasm/utils/dna.pyx
python/orgasm/utils/dna.pyx
+34
-0
python/sandbox.py
python/sandbox.py
+32
-0
No files found.
distutils.ext/obidistutils/serenity/checkpackage.py
View file @
1912bd40
...
...
@@ -80,7 +80,7 @@ def install_requirements(skip_virtualenv=True,pip=None):
if
pip
is
None
:
pip
=
get_a_pip_module
()
try
:
requirements
=
open
(
'requirements.txt'
).
readlines
()
requirements
=
[
x
.
strip
()
for
x
in
requirements
]
...
...
@@ -161,6 +161,9 @@ def pip_install_package(package,directory=None,pip=None):
log
.
info
(
'installing %s in directory %s'
%
(
package
,
str
(
directory
)))
if
'http_proxy'
in
os
.
environ
and
'https_proxy'
not
in
os
.
environ
:
os
.
environ
[
'https_proxy'
]
=
os
.
environ
[
'http_proxy'
]
if
pip
is
None
:
pip
=
get_a_pip_module
()
...
...
distutils.ext/obidistutils/serenity/checkpip.py
View file @
1912bd40
...
...
@@ -21,29 +21,50 @@ from obidistutils.serenity.globals import PIP_MINVERSION, \
from
obidistutils.serenity.util
import
get_serenity_dir
import
sys
import
pkgutil
def
is_pip_installed
(
minversion
=
PIP_MINVERSION
):
try
:
import
pip
# @UnresolvedImport
ok
=
LooseVersion
(
pip
.
__version__
)
>=
LooseVersion
(
minversion
)
log
.
info
(
"Try to load pip module..."
)
pipmodule
=
importlib
.
import_module
(
'pip'
)
if
hasattr
(
pipmodule
,
'__version__'
):
ok
=
LooseVersion
(
pipmodule
.
__version__
)
>=
LooseVersion
(
minversion
)
log
.
info
(
"Pip installed version %s"
%
pipmodule
.
__version__
)
else
:
ok
=
False
log
.
info
(
"A too old version of pip is installed on your system"
)
# We clean up the imported pip module for test purpose
for
m
in
[
x
for
x
in
sys
.
modules
if
x
.
startswith
(
'pip.'
)]:
del
sys
.
modules
[
m
]
del
sys
.
modules
[
'pip'
]
except
:
ok
=
False
log
.
info
(
"No pip installed on your system"
)
return
ok
def
get_a_pip_module
(
minversion
=
PIP_MINVERSION
):
global
local_pip
tmpdir
=
get_serenity_dir
()
if
not
local_pip
:
if
not
is_pip_installed
(
minversion
):
try
:
if
'http_proxy'
in
os
.
environ
and
'https_proxy'
not
in
os
.
environ
:
os
.
environ
[
'https_proxy'
]
=
os
.
environ
[
'http_proxy'
]
pipinstallscript
=
urllib2
.
urlopen
(
'https://bootstrap.pypa.io/get-pip.py'
)
except
:
raise
DistutilsError
,
"Pip (>=%s) is not install on your system and I cannot install it"
%
PIP_MINVERSION
script
=
pipinstallscript
.
read
()
tmpdir
=
get_serenity_dir
()
getpip_py
=
os
.
path
.
join
(
tmpdir
,
"get-pip.py"
)
with
open
(
getpip_py
,
"wb"
)
as
fp
:
log
.
info
(
"Downloading temporary pip..."
)
...
...
@@ -59,18 +80,29 @@ def get_a_pip_module(minversion=PIP_MINVERSION):
fp
.
write
(
base64
.
decodestring
(
ZIPFILE
))
log
.
info
(
" done."
)
zipmodule
=
zipimport
.
zipimporter
(
pip_zip
)
pipmodule
=
zipmodule
.
load_module
(
"pip"
)
assert
LooseVersion
(
pipmodule
.
__version__
)
>=
minversion
,
\
"Unable to find suitable version of pip get %s instead of %s"
%
(
pipmodule
.
__version__
,
minversion
)
# Add the zipfile to sys.path so that we can import it
sys
.
path
.
insert
(
0
,
pip_zip
)
zi
=
zipimport
.
zipimporter
(
pip_zip
)
pip
=
zi
.
load_module
(
"pip"
)
else
:
pipmodule
=
importlib
.
import_module
(
'pip'
)
pip
=
importlib
.
import_module
(
'pip'
)
local_pip
.
append
(
pip
)
# Prepare the CERT certificat for https download
local_pip
.
append
(
pipmodule
)
cert_path
=
os
.
path
.
join
(
tmpdir
,
"cacert.pem"
)
certificate
=
pkgutil
.
get_data
(
"pip._vendor.requests"
,
"cacert.pem"
)
with
open
(
cert_path
,
"wb"
)
as
cert
:
cert
.
write
(
certificate
)
os
.
environ
.
setdefault
(
"PIP_CERT"
,
cert_path
)
assert
hasattr
(
pip
,
'__version__'
)
and
LooseVersion
(
pip
.
__version__
)
>=
LooseVersion
(
minversion
),
\
"Unable to find suitable version of pip"
return
local_pip
[
0
]
doc/sphinx/source/index.rst
View file @
1912bd40
...
...
@@ -11,8 +11,9 @@ Contents:
.. toctree::
:maxdepth: 2
Algorithms <algorithms
>
The ORGanelle ASeMbler ``oa`` command line tool <oa
>
Assembling a mitochondrion genome <mitochondrion>
Algorithms <algorithms>
User API <userapi>
The organelle assembler indexer <orgasmi>
...
...
doc/sphinx/source/
orgasmi
.rst
→
doc/sphinx/source/
indexer
.rst
View file @
1912bd40
File moved
doc/sphinx/source/mitochondrion.rst
View file @
1912bd40
...
...
@@ -7,7 +7,8 @@ Step 1 : indexing the reads
---------------------------
To assemble a genome from sequence reads, you need first to index them. This step allows an efficient access
to the reads during the assembling process. The organel assembler only works with pair ended reads of equal length.
to the reads during the assembling process. The organelle assembler is optimized for running with paired end
Illumina reads. It can also works, but less efficiently, with single reads, and 454 or Ion Torrent reads.
Considering two fastq files ``forward.fastq`` and ``reverse.fastq`` containing respectively the forward and the
reverse reads of the paired reads, to build the index named ``readindex`` from a UNIX terminal you have to run the
...
...
@@ -15,19 +16,19 @@ reverse reads of the paired reads, to build the index named ``readindex`` from a
.. code-block:: bash
orgasmi -o
readindex forward.fastq reverse.fastq
$ oa index
readindex forward.fastq reverse.fastq
If the ``forward.fastq`` and ``reverse.fastq`` files are compressed using ``gzip`` (``forward.fastq.gz`` and ``reverse.fastq.gz``)
you can index them without uncompressed both the files on you disk. To achieve that you have to run the following commands :
the ``oa`` command is able to manage with compressed read files :
- by ``gzip`` if the file name ends by ``'.gz'``
- by ``bzip2``if the file name ends by ``'.bz2'``
.. code-block:: bash
$ mkfifo forward
$ mkfifo reverse
$ gzip -dc forward.fastq.gz > forward &
$ gzip -dc reverse.fastq.gz > reverse &
$ orgasmi -o readindex -M 30 -l 100 forward reverse
$ rm forward reverse
$ oa index readindex forward.fastq.gz reverse.fastq.bz2
This will index the 30 first millions of reads stored in the ``forward.fastq.gz`` and ``reverse.fastq.gz`` files over their first 100bp.
...
...
get_orgasm/get-orgasm.py
View file @
1912bd40
This diff is collapsed.
Click to expand it.
get_orgasm/getorgasm/pip/__init__.py
0 → 100644
View file @
1912bd40
#!/usr/bin/env python
import
os
import
optparse
import
sys
import
re
from
pip.exceptions
import
InstallationError
,
CommandError
,
PipError
from
pip.log
import
logger
from
pip.util
import
get_installed_distributions
,
get_prog
from
pip.vcs
import
git
,
mercurial
,
subversion
,
bazaar
# noqa
from
pip.baseparser
import
ConfigOptionParser
,
UpdatingDefaultsHelpFormatter
from
pip.commands
import
commands
,
get_summaries
,
get_similar_commands
# This fixes a peculiarity when importing via __import__ - as we are
# initialising the pip module, "from pip import cmdoptions" is recursive
# and appears not to work properly in that situation.
import
pip.cmdoptions
cmdoptions
=
pip
.
cmdoptions
# The version as used in the setup.py and the docs conf.py
__version__
=
"1.5.6"
def
autocomplete
():
"""Command and option completion for the main option parser (and options)
and its subcommands (and options).
Enable by sourcing one of the completion shell scripts (bash or zsh).
"""
# Don't complete if user hasn't sourced bash_completion file.
if
'PIP_AUTO_COMPLETE'
not
in
os
.
environ
:
return
cwords
=
os
.
environ
[
'COMP_WORDS'
].
split
()[
1
:]
cword
=
int
(
os
.
environ
[
'COMP_CWORD'
])
try
:
current
=
cwords
[
cword
-
1
]
except
IndexError
:
current
=
''
subcommands
=
[
cmd
for
cmd
,
summary
in
get_summaries
()]
options
=
[]
# subcommand
try
:
subcommand_name
=
[
w
for
w
in
cwords
if
w
in
subcommands
][
0
]
except
IndexError
:
subcommand_name
=
None
parser
=
create_main_parser
()
# subcommand options
if
subcommand_name
:
# special case: 'help' subcommand has no options
if
subcommand_name
==
'help'
:
sys
.
exit
(
1
)
# special case: list locally installed dists for uninstall command
if
subcommand_name
==
'uninstall'
and
not
current
.
startswith
(
'-'
):
installed
=
[]
lc
=
current
.
lower
()
for
dist
in
get_installed_distributions
(
local_only
=
True
):
if
dist
.
key
.
startswith
(
lc
)
and
dist
.
key
not
in
cwords
[
1
:]:
installed
.
append
(
dist
.
key
)
# if there are no dists installed, fall back to option completion
if
installed
:
for
dist
in
installed
:
print
(
dist
)
sys
.
exit
(
1
)
subcommand
=
commands
[
subcommand_name
]()
options
+=
[(
opt
.
get_opt_string
(),
opt
.
nargs
)
for
opt
in
subcommand
.
parser
.
option_list_all
if
opt
.
help
!=
optparse
.
SUPPRESS_HELP
]
# filter out previously specified options from available options
prev_opts
=
[
x
.
split
(
'='
)[
0
]
for
x
in
cwords
[
1
:
cword
-
1
]]
options
=
[(
x
,
v
)
for
(
x
,
v
)
in
options
if
x
not
in
prev_opts
]
# filter options by current input
options
=
[(
k
,
v
)
for
k
,
v
in
options
if
k
.
startswith
(
current
)]
for
option
in
options
:
opt_label
=
option
[
0
]
# append '=' to options which require args
if
option
[
1
]:
opt_label
+=
'='
print
(
opt_label
)
else
:
# show main parser options only when necessary
if
current
.
startswith
(
'-'
)
or
current
.
startswith
(
'--'
):
opts
=
[
i
.
option_list
for
i
in
parser
.
option_groups
]
opts
.
append
(
parser
.
option_list
)
opts
=
(
o
for
it
in
opts
for
o
in
it
)
subcommands
+=
[
i
.
get_opt_string
()
for
i
in
opts
if
i
.
help
!=
optparse
.
SUPPRESS_HELP
]
print
(
' '
.
join
([
x
for
x
in
subcommands
if
x
.
startswith
(
current
)]))
sys
.
exit
(
1
)
def
create_main_parser
():
parser_kw
=
{
'usage'
:
'
\n
%prog <command> [options]'
,
'add_help_option'
:
False
,
'formatter'
:
UpdatingDefaultsHelpFormatter
(),
'name'
:
'global'
,
'prog'
:
get_prog
(),
}
parser
=
ConfigOptionParser
(
**
parser_kw
)
parser
.
disable_interspersed_args
()
pip_pkg_dir
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
parser
.
version
=
'pip %s from %s (python %s)'
%
(
__version__
,
pip_pkg_dir
,
sys
.
version
[:
3
])
# add the general options
gen_opts
=
cmdoptions
.
make_option_group
(
cmdoptions
.
general_group
,
parser
)
parser
.
add_option_group
(
gen_opts
)
parser
.
main
=
True
# so the help formatter knows
# create command listing for description
command_summaries
=
get_summaries
()
description
=
[
''
]
+
[
'%-27s %s'
%
(
i
,
j
)
for
i
,
j
in
command_summaries
]
parser
.
description
=
'
\n
'
.
join
(
description
)
return
parser
def
parseopts
(
args
):
parser
=
create_main_parser
()
# Note: parser calls disable_interspersed_args(), so the result of this call
# is to split the initial args into the general options before the
# subcommand and everything else.
# For example:
# args: ['--timeout=5', 'install', '--user', 'INITools']
# general_options: ['--timeout==5']
# args_else: ['install', '--user', 'INITools']
general_options
,
args_else
=
parser
.
parse_args
(
args
)
# --version
if
general_options
.
version
:
sys
.
stdout
.
write
(
parser
.
version
)
sys
.
stdout
.
write
(
os
.
linesep
)
sys
.
exit
()
# pip || pip help -> print_help()
if
not
args_else
or
(
args_else
[
0
]
==
'help'
and
len
(
args_else
)
==
1
):
parser
.
print_help
()
sys
.
exit
()
# the subcommand name
cmd_name
=
args_else
[
0
].
lower
()
#all the args without the subcommand
cmd_args
=
args
[:]
cmd_args
.
remove
(
args_else
[
0
].
lower
())
if
cmd_name
not
in
commands
:
guess
=
get_similar_commands
(
cmd_name
)
msg
=
[
'unknown command "%s"'
%
cmd_name
]
if
guess
:
msg
.
append
(
'maybe you meant "%s"'
%
guess
)
raise
CommandError
(
' - '
.
join
(
msg
))
return
cmd_name
,
cmd_args
def
main
(
initial_args
=
None
):
if
initial_args
is
None
:
initial_args
=
sys
.
argv
[
1
:]
autocomplete
()
try
:
cmd_name
,
cmd_args
=
parseopts
(
initial_args
)
except
PipError
:
e
=
sys
.
exc_info
()[
1
]
sys
.
stderr
.
write
(
"ERROR: %s"
%
e
)
sys
.
stderr
.
write
(
os
.
linesep
)
sys
.
exit
(
1
)
command
=
commands
[
cmd_name
]()
return
command
.
main
(
cmd_args
)
def
bootstrap
():
"""
Bootstrapping function to be called from install-pip.py script.
"""
pkgs
=
[
'pip'
]
try
:
import
setuptools
except
ImportError
:
pkgs
.
append
(
'setuptools'
)
return
main
([
'install'
,
'--upgrade'
]
+
pkgs
+
sys
.
argv
[
1
:])
############################################################
## Writing freeze files
class
FrozenRequirement
(
object
):
def
__init__
(
self
,
name
,
req
,
editable
,
comments
=
()):
self
.
name
=
name
self
.
req
=
req
self
.
editable
=
editable
self
.
comments
=
comments
_rev_re
=
re
.
compile
(
r
'-r(\d+)$'
)
_date_re
=
re
.
compile
(
r
'-(20\d\d\d\d\d\d)$'
)
@
classmethod
def
from_dist
(
cls
,
dist
,
dependency_links
,
find_tags
=
False
):
location
=
os
.
path
.
normcase
(
os
.
path
.
abspath
(
dist
.
location
))
comments
=
[]
from
pip.vcs
import
vcs
,
get_src_requirement
if
vcs
.
get_backend_name
(
location
):
editable
=
True
try
:
req
=
get_src_requirement
(
dist
,
location
,
find_tags
)
except
InstallationError
:
ex
=
sys
.
exc_info
()[
1
]
logger
.
warn
(
"Error when trying to get requirement for VCS system %s, falling back to uneditable format"
%
ex
)
req
=
None
if
req
is
None
:
logger
.
warn
(
'Could not determine repository location of %s'
%
location
)
comments
.
append
(
'## !! Could not determine repository location'
)
req
=
dist
.
as_requirement
()
editable
=
False
else
:
editable
=
False
req
=
dist
.
as_requirement
()
specs
=
req
.
specs
assert
len
(
specs
)
==
1
and
specs
[
0
][
0
]
==
'=='
version
=
specs
[
0
][
1
]
ver_match
=
cls
.
_rev_re
.
search
(
version
)
date_match
=
cls
.
_date_re
.
search
(
version
)
if
ver_match
or
date_match
:
svn_backend
=
vcs
.
get_backend
(
'svn'
)
if
svn_backend
:
svn_location
=
svn_backend
(
).
get_location
(
dist
,
dependency_links
)
if
not
svn_location
:
logger
.
warn
(
'Warning: cannot find svn location for %s'
%
req
)
comments
.
append
(
'## FIXME: could not find svn URL in dependency_links for this package:'
)
else
:
comments
.
append
(
'# Installing as editable to satisfy requirement %s:'
%
req
)
if
ver_match
:
rev
=
ver_match
.
group
(
1
)
else
:
rev
=
'{%s}'
%
date_match
.
group
(
1
)
editable
=
True
req
=
'%s@%s#egg=%s'
%
(
svn_location
,
rev
,
cls
.
egg_name
(
dist
))
return
cls
(
dist
.
project_name
,
req
,
editable
,
comments
)
@
staticmethod
def
egg_name
(
dist
):
name
=
dist
.
egg_name
()
match
=
re
.
search
(
r
'-py\d\.\d$'
,
name
)
if
match
:
name
=
name
[:
match
.
start
()]
return
name
def
__str__
(
self
):
req
=
self
.
req
if
self
.
editable
:
req
=
'-e %s'
%
req
return
'
\n
'
.
join
(
list
(
self
.
comments
)
+
[
str
(
req
)])
+
'
\n
'
if
__name__
==
'__main__'
:
exit
=
main
()
if
exit
:
sys
.
exit
(
exit
)
get_orgasm/getorgasm/pip/__main__.py
0 → 100644
View file @
1912bd40
import
sys
from
.runner
import
run
if
__name__
==
'__main__'
:
exit
=
run
()
if
exit
:
sys
.
exit
(
exit
)
get_orgasm/getorgasm/pip/_vendor/__init__.py
0 → 100644
View file @
1912bd40
"""
pip._vendor is for vendoring dependencies of pip to prevent needing pip to
depend on something external.
Files inside of pip._vendor should be considered immutable and should only be
updated to versions from upstream.
"""
from
__future__
import
absolute_import
get_orgasm/getorgasm/pip/_vendor/_markerlib/__init__.py
0 → 100644
View file @
1912bd40
try
:
import
ast
from
pip._vendor._markerlib.markers
import
default_environment
,
compile
,
interpret
except
ImportError
:
if
'ast'
in
globals
():
raise
def
default_environment
():
return
{}
def
compile
(
marker
):
def
marker_fn
(
environment
=
None
,
override
=
None
):
# 'empty markers are True' heuristic won't install extra deps.
return
not
marker
.
strip
()
marker_fn
.
__doc__
=
marker
return
marker_fn
def
interpret
(
marker
,
environment
=
None
,
override
=
None
):
return
compile
(
marker
)()
get_orgasm/getorgasm/pip/_vendor/_markerlib/markers.py
0 → 100644
View file @
1912bd40
# -*- coding: utf-8 -*-
"""Interpret PEP 345 environment markers.
EXPR [in|==|!=|not in] EXPR [or|and] ...
where EXPR belongs to any of those:
python_version = '%s.%s' % (sys.version_info[0], sys.version_info[1])
python_full_version = sys.version.split()[0]
os.name = os.name
sys.platform = sys.platform
platform.version = platform.version()
platform.machine = platform.machine()
platform.python_implementation = platform.python_implementation()
a free string, like '2.6', or 'win32'
"""
__all__
=
[
'default_environment'
,
'compile'
,
'interpret'
]
import
ast
import
os
import
platform
import
sys
import
weakref
_builtin_compile
=
compile
try
:
from
platform
import
python_implementation
except
ImportError
:
if
os
.
name
==
"java"
:
# Jython 2.5 has ast module, but not platform.python_implementation() function.
def
python_implementation
():
return
"Jython"
else
:
raise