Initial commit
This commit is contained in:
commit
97f27d2321
|
@ -0,0 +1,2 @@
|
|||
*.db
|
||||
*.zip
|
|
@ -0,0 +1,241 @@
|
|||
<#
|
||||
.Synopsis
|
||||
Activate a Python virtual environment for the current PowerShell session.
|
||||
|
||||
.Description
|
||||
Pushes the python executable for a virtual environment to the front of the
|
||||
$Env:PATH environment variable and sets the prompt to signify that you are
|
||||
in a Python virtual environment. Makes use of the command line switches as
|
||||
well as the `pyvenv.cfg` file values present in the virtual environment.
|
||||
|
||||
.Parameter VenvDir
|
||||
Path to the directory that contains the virtual environment to activate. The
|
||||
default value for this is the parent of the directory that the Activate.ps1
|
||||
script is located within.
|
||||
|
||||
.Parameter Prompt
|
||||
The prompt prefix to display when this virtual environment is activated. By
|
||||
default, this prompt is the name of the virtual environment folder (VenvDir)
|
||||
surrounded by parentheses and followed by a single space (ie. '(.venv) ').
|
||||
|
||||
.Example
|
||||
Activate.ps1
|
||||
Activates the Python virtual environment that contains the Activate.ps1 script.
|
||||
|
||||
.Example
|
||||
Activate.ps1 -Verbose
|
||||
Activates the Python virtual environment that contains the Activate.ps1 script,
|
||||
and shows extra information about the activation as it executes.
|
||||
|
||||
.Example
|
||||
Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
|
||||
Activates the Python virtual environment located in the specified location.
|
||||
|
||||
.Example
|
||||
Activate.ps1 -Prompt "MyPython"
|
||||
Activates the Python virtual environment that contains the Activate.ps1 script,
|
||||
and prefixes the current prompt with the specified string (surrounded in
|
||||
parentheses) while the virtual environment is active.
|
||||
|
||||
.Notes
|
||||
On Windows, it may be required to enable this Activate.ps1 script by setting the
|
||||
execution policy for the user. You can do this by issuing the following PowerShell
|
||||
command:
|
||||
|
||||
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
|
||||
For more information on Execution Policies:
|
||||
ttps:/go.microsoft.com/fwlink/?LinkID=135170
|
||||
|
||||
#>
|
||||
Param(
|
||||
[Parameter(Mandatory = $false)]
|
||||
[String]
|
||||
$VenvDir,
|
||||
[Parameter(Mandatory = $false)]
|
||||
[String]
|
||||
$Prompt
|
||||
)
|
||||
|
||||
<# Function declarations --------------------------------------------------- #>
|
||||
|
||||
<#
|
||||
.Synopsis
|
||||
Remove all shell session elements added by the Activate script, including the
|
||||
addition of the virtual environment's Python executable from the beginning of
|
||||
the PATH variable.
|
||||
|
||||
.Parameter NonDestructive
|
||||
If present, do not remove this function from the global namespace for the
|
||||
session.
|
||||
|
||||
#>
|
||||
function global:deactivate ([switch]$NonDestructive) {
|
||||
# Revert to original values
|
||||
|
||||
# The prior prompt:
|
||||
if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
|
||||
Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
|
||||
Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
|
||||
}
|
||||
|
||||
# The prior PYTHONHOME:
|
||||
if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
|
||||
Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME
|
||||
Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME
|
||||
}
|
||||
|
||||
# The prior PATH:
|
||||
if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) {
|
||||
Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH
|
||||
Remove-Item -Path Env:_OLD_VIRTUAL_PATH
|
||||
}
|
||||
|
||||
# Just remove the VIRTUAL_ENV altogether:
|
||||
if (Test-Path -Path Env:VIRTUAL_ENV) {
|
||||
Remove-Item -Path env:VIRTUAL_ENV
|
||||
}
|
||||
|
||||
# Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether:
|
||||
if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) {
|
||||
Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force
|
||||
}
|
||||
|
||||
# Leave deactivate function in the global namespace if requested:
|
||||
if (-not $NonDestructive) {
|
||||
Remove-Item -Path function:deactivate
|
||||
}
|
||||
}
|
||||
|
||||
<#
|
||||
.Description
|
||||
Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the
|
||||
given folder, and returns them in a map.
|
||||
|
||||
For each line in the pyvenv.cfg file, if that line can be parsed into exactly
|
||||
two strings separated by `=` (with any amount of whitespace surrounding the =)
|
||||
then it is considered a `key = value` line. The left hand string is the key,
|
||||
the right hand is the value.
|
||||
|
||||
If the value starts with a `'` or a `"` then the first and last character is
|
||||
stripped from the value before being captured.
|
||||
|
||||
.Parameter ConfigDir
|
||||
Path to the directory that contains the `pyvenv.cfg` file.
|
||||
#>
|
||||
function Get-PyVenvConfig(
|
||||
[String]
|
||||
$ConfigDir
|
||||
) {
|
||||
Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg"
|
||||
|
||||
# Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue).
|
||||
$pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue
|
||||
|
||||
# An empty map will be returned if no config file is found.
|
||||
$pyvenvConfig = @{ }
|
||||
|
||||
if ($pyvenvConfigPath) {
|
||||
|
||||
Write-Verbose "File exists, parse `key = value` lines"
|
||||
$pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath
|
||||
|
||||
$pyvenvConfigContent | ForEach-Object {
|
||||
$keyval = $PSItem -split "\s*=\s*", 2
|
||||
if ($keyval[0] -and $keyval[1]) {
|
||||
$val = $keyval[1]
|
||||
|
||||
# Remove extraneous quotations around a string value.
|
||||
if ("'""".Contains($val.Substring(0, 1))) {
|
||||
$val = $val.Substring(1, $val.Length - 2)
|
||||
}
|
||||
|
||||
$pyvenvConfig[$keyval[0]] = $val
|
||||
Write-Verbose "Adding Key: '$($keyval[0])'='$val'"
|
||||
}
|
||||
}
|
||||
}
|
||||
return $pyvenvConfig
|
||||
}
|
||||
|
||||
|
||||
<# Begin Activate script --------------------------------------------------- #>
|
||||
|
||||
# Determine the containing directory of this script
|
||||
$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
|
||||
$VenvExecDir = Get-Item -Path $VenvExecPath
|
||||
|
||||
Write-Verbose "Activation script is located in path: '$VenvExecPath'"
|
||||
Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)"
|
||||
Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)"
|
||||
|
||||
# Set values required in priority: CmdLine, ConfigFile, Default
|
||||
# First, get the location of the virtual environment, it might not be
|
||||
# VenvExecDir if specified on the command line.
|
||||
if ($VenvDir) {
|
||||
Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values"
|
||||
}
|
||||
else {
|
||||
Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
|
||||
$VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
|
||||
Write-Verbose "VenvDir=$VenvDir"
|
||||
}
|
||||
|
||||
# Next, read the `pyvenv.cfg` file to determine any required value such
|
||||
# as `prompt`.
|
||||
$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir
|
||||
|
||||
# Next, set the prompt from the command line, or the config file, or
|
||||
# just use the name of the virtual environment folder.
|
||||
if ($Prompt) {
|
||||
Write-Verbose "Prompt specified as argument, using '$Prompt'"
|
||||
}
|
||||
else {
|
||||
Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value"
|
||||
if ($pyvenvCfg -and $pyvenvCfg['prompt']) {
|
||||
Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'"
|
||||
$Prompt = $pyvenvCfg['prompt'];
|
||||
}
|
||||
else {
|
||||
Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virutal environment)"
|
||||
Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
|
||||
$Prompt = Split-Path -Path $venvDir -Leaf
|
||||
}
|
||||
}
|
||||
|
||||
Write-Verbose "Prompt = '$Prompt'"
|
||||
Write-Verbose "VenvDir='$VenvDir'"
|
||||
|
||||
# Deactivate any currently active virtual environment, but leave the
|
||||
# deactivate function in place.
|
||||
deactivate -nondestructive
|
||||
|
||||
# Now set the environment variable VIRTUAL_ENV, used by many tools to determine
|
||||
# that there is an activated venv.
|
||||
$env:VIRTUAL_ENV = $VenvDir
|
||||
|
||||
if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
||||
|
||||
Write-Verbose "Setting prompt to '$Prompt'"
|
||||
|
||||
# Set the prompt to include the env name
|
||||
# Make sure _OLD_VIRTUAL_PROMPT is global
|
||||
function global:_OLD_VIRTUAL_PROMPT { "" }
|
||||
Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
|
||||
New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt
|
||||
|
||||
function global:prompt {
|
||||
Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
|
||||
_OLD_VIRTUAL_PROMPT
|
||||
}
|
||||
}
|
||||
|
||||
# Clear PYTHONHOME
|
||||
if (Test-Path -Path Env:PYTHONHOME) {
|
||||
Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
|
||||
Remove-Item -Path Env:PYTHONHOME
|
||||
}
|
||||
|
||||
# Add the venv to the PATH
|
||||
Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
|
||||
$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"
|
|
@ -0,0 +1,76 @@
|
|||
# This file must be used with "source bin/activate" *from bash*
|
||||
# you cannot run it directly
|
||||
|
||||
deactivate () {
|
||||
# reset old environment variables
|
||||
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then
|
||||
PATH="${_OLD_VIRTUAL_PATH:-}"
|
||||
export PATH
|
||||
unset _OLD_VIRTUAL_PATH
|
||||
fi
|
||||
if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then
|
||||
PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
|
||||
export PYTHONHOME
|
||||
unset _OLD_VIRTUAL_PYTHONHOME
|
||||
fi
|
||||
|
||||
# This should detect bash and zsh, which have a hash command that must
|
||||
# be called to get it to forget past commands. Without forgetting
|
||||
# past commands the $PATH changes we made may not be respected
|
||||
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then
|
||||
hash -r
|
||||
fi
|
||||
|
||||
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
|
||||
PS1="${_OLD_VIRTUAL_PS1:-}"
|
||||
export PS1
|
||||
unset _OLD_VIRTUAL_PS1
|
||||
fi
|
||||
|
||||
unset VIRTUAL_ENV
|
||||
if [ ! "${1:-}" = "nondestructive" ] ; then
|
||||
# Self destruct!
|
||||
unset -f deactivate
|
||||
fi
|
||||
}
|
||||
|
||||
# unset irrelevant variables
|
||||
deactivate nondestructive
|
||||
|
||||
VIRTUAL_ENV="/home/siengrain/PycharmProjects/pwm_test/venv"
|
||||
export VIRTUAL_ENV
|
||||
|
||||
_OLD_VIRTUAL_PATH="$PATH"
|
||||
PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
export PATH
|
||||
|
||||
# unset PYTHONHOME if set
|
||||
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
|
||||
# could use `if (set -u; : $PYTHONHOME) ;` in bash
|
||||
if [ -n "${PYTHONHOME:-}" ] ; then
|
||||
_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
|
||||
unset PYTHONHOME
|
||||
fi
|
||||
|
||||
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
|
||||
_OLD_VIRTUAL_PS1="${PS1:-}"
|
||||
if [ "x(venv) " != x ] ; then
|
||||
PS1="(venv) ${PS1:-}"
|
||||
else
|
||||
if [ "`basename \"$VIRTUAL_ENV\"`" = "__" ] ; then
|
||||
# special case for Aspen magic directories
|
||||
# see http://www.zetadev.com/software/aspen/
|
||||
PS1="[`basename \`dirname \"$VIRTUAL_ENV\"\``] $PS1"
|
||||
else
|
||||
PS1="(`basename \"$VIRTUAL_ENV\"`)$PS1"
|
||||
fi
|
||||
fi
|
||||
export PS1
|
||||
fi
|
||||
|
||||
# This should detect bash and zsh, which have a hash command that must
|
||||
# be called to get it to forget past commands. Without forgetting
|
||||
# past commands the $PATH changes we made may not be respected
|
||||
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then
|
||||
hash -r
|
||||
fi
|
|
@ -0,0 +1,37 @@
|
|||
# This file must be used with "source bin/activate.csh" *from csh*.
|
||||
# You cannot run it directly.
|
||||
# Created by Davide Di Blasi <davidedb@gmail.com>.
|
||||
# Ported to Python 3.3 venv by Andrew Svetlov <andrew.svetlov@gmail.com>
|
||||
|
||||
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate'
|
||||
|
||||
# Unset irrelevant variables.
|
||||
deactivate nondestructive
|
||||
|
||||
setenv VIRTUAL_ENV "/home/siengrain/PycharmProjects/pwm_test/venv"
|
||||
|
||||
set _OLD_VIRTUAL_PATH="$PATH"
|
||||
setenv PATH "$VIRTUAL_ENV/bin:$PATH"
|
||||
|
||||
|
||||
set _OLD_VIRTUAL_PROMPT="$prompt"
|
||||
|
||||
if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then
|
||||
if ("venv" != "") then
|
||||
set env_name = "venv"
|
||||
else
|
||||
if (`basename "VIRTUAL_ENV"` == "__") then
|
||||
# special case for Aspen magic directories
|
||||
# see http://www.zetadev.com/software/aspen/
|
||||
set env_name = `basename \`dirname "$VIRTUAL_ENV"\``
|
||||
else
|
||||
set env_name = `basename "$VIRTUAL_ENV"`
|
||||
endif
|
||||
endif
|
||||
set prompt = "[$env_name] $prompt"
|
||||
unset env_name
|
||||
endif
|
||||
|
||||
alias pydoc python -m pydoc
|
||||
|
||||
rehash
|
|
@ -0,0 +1,75 @@
|
|||
# This file must be used with ". bin/activate.fish" *from fish* (http://fishshell.org)
|
||||
# you cannot run it directly
|
||||
|
||||
function deactivate -d "Exit virtualenv and return to normal shell environment"
|
||||
# reset old environment variables
|
||||
if test -n "$_OLD_VIRTUAL_PATH"
|
||||
set -gx PATH $_OLD_VIRTUAL_PATH
|
||||
set -e _OLD_VIRTUAL_PATH
|
||||
end
|
||||
if test -n "$_OLD_VIRTUAL_PYTHONHOME"
|
||||
set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
|
||||
set -e _OLD_VIRTUAL_PYTHONHOME
|
||||
end
|
||||
|
||||
if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
|
||||
functions -e fish_prompt
|
||||
set -e _OLD_FISH_PROMPT_OVERRIDE
|
||||
functions -c _old_fish_prompt fish_prompt
|
||||
functions -e _old_fish_prompt
|
||||
end
|
||||
|
||||
set -e VIRTUAL_ENV
|
||||
if test "$argv[1]" != "nondestructive"
|
||||
# Self destruct!
|
||||
functions -e deactivate
|
||||
end
|
||||
end
|
||||
|
||||
# unset irrelevant variables
|
||||
deactivate nondestructive
|
||||
|
||||
set -gx VIRTUAL_ENV "/home/siengrain/PycharmProjects/pwm_test/venv"
|
||||
|
||||
set -gx _OLD_VIRTUAL_PATH $PATH
|
||||
set -gx PATH "$VIRTUAL_ENV/bin" $PATH
|
||||
|
||||
# unset PYTHONHOME if set
|
||||
if set -q PYTHONHOME
|
||||
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
|
||||
set -e PYTHONHOME
|
||||
end
|
||||
|
||||
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
||||
# fish uses a function instead of an env var to generate the prompt.
|
||||
|
||||
# save the current fish_prompt function as the function _old_fish_prompt
|
||||
functions -c fish_prompt _old_fish_prompt
|
||||
|
||||
# with the original prompt function renamed, we can override with our own.
|
||||
function fish_prompt
|
||||
# Save the return status of the last command
|
||||
set -l old_status $status
|
||||
|
||||
# Prompt override?
|
||||
if test -n "(venv) "
|
||||
printf "%s%s" "(venv) " (set_color normal)
|
||||
else
|
||||
# ...Otherwise, prepend env
|
||||
set -l _checkbase (basename "$VIRTUAL_ENV")
|
||||
if test $_checkbase = "__"
|
||||
# special case for Aspen magic directories
|
||||
# see http://www.zetadev.com/software/aspen/
|
||||
printf "%s[%s]%s " (set_color -b blue white) (basename (dirname "$VIRTUAL_ENV")) (set_color normal)
|
||||
else
|
||||
printf "%s(%s)%s" (set_color -b blue white) (basename "$VIRTUAL_ENV") (set_color normal)
|
||||
end
|
||||
end
|
||||
|
||||
# Restore the return status of the previous command.
|
||||
echo "exit $old_status" | .
|
||||
_old_fish_prompt
|
||||
end
|
||||
|
||||
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
|
||||
end
|
|
@ -0,0 +1,8 @@
|
|||
#!/home/siengrain/PycharmProjects/pwm_test/venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from setuptools.command.easy_install import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
|
@ -0,0 +1,8 @@
|
|||
#!/home/siengrain/PycharmProjects/pwm_test/venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from setuptools.command.easy_install import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
|
@ -0,0 +1,33 @@
|
|||
#!/home/siengrain/PycharmProjects/pwm_test/venv/bin/python
|
||||
# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','futurize'
|
||||
import re
|
||||
import sys
|
||||
|
||||
# for compatibility with easy_install; see #2198
|
||||
__requires__ = 'future==0.18.2'
|
||||
|
||||
try:
|
||||
from importlib.metadata import distribution
|
||||
except ImportError:
|
||||
try:
|
||||
from importlib_metadata import distribution
|
||||
except ImportError:
|
||||
from pkg_resources import load_entry_point
|
||||
|
||||
|
||||
def importlib_load_entry_point(spec, group, name):
|
||||
dist_name, _, _ = spec.partition('==')
|
||||
matches = (
|
||||
entry_point
|
||||
for entry_point in distribution(dist_name).entry_points
|
||||
if entry_point.group == group and entry_point.name == name
|
||||
)
|
||||
return next(matches).load()
|
||||
|
||||
|
||||
globals().setdefault('load_entry_point', importlib_load_entry_point)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(load_entry_point('future==0.18.2', 'console_scripts', 'futurize')())
|
|
@ -0,0 +1,33 @@
|
|||
#!/home/siengrain/PycharmProjects/pwm_test/venv/bin/python
|
||||
# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','pasteurize'
|
||||
import re
|
||||
import sys
|
||||
|
||||
# for compatibility with easy_install; see #2198
|
||||
__requires__ = 'future==0.18.2'
|
||||
|
||||
try:
|
||||
from importlib.metadata import distribution
|
||||
except ImportError:
|
||||
try:
|
||||
from importlib_metadata import distribution
|
||||
except ImportError:
|
||||
from pkg_resources import load_entry_point
|
||||
|
||||
|
||||
def importlib_load_entry_point(spec, group, name):
|
||||
dist_name, _, _ = spec.partition('==')
|
||||
matches = (
|
||||
entry_point
|
||||
for entry_point in distribution(dist_name).entry_points
|
||||
if entry_point.group == group and entry_point.name == name
|
||||
)
|
||||
return next(matches).load()
|
||||
|
||||
|
||||
globals().setdefault('load_entry_point', importlib_load_entry_point)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(load_entry_point('future==0.18.2', 'console_scripts', 'pasteurize')())
|
|
@ -0,0 +1,8 @@
|
|||
#!/home/siengrain/PycharmProjects/pwm_test/venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from pip._internal.cli.main import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
|
@ -0,0 +1,8 @@
|
|||
#!/home/siengrain/PycharmProjects/pwm_test/venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from pip._internal.cli.main import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
|
@ -0,0 +1,8 @@
|
|||
#!/home/siengrain/PycharmProjects/pwm_test/venv/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from pip._internal.cli.main import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
|
@ -0,0 +1 @@
|
|||
python3.8
|
|
@ -0,0 +1 @@
|
|||
python3.8
|
|
@ -0,0 +1 @@
|
|||
/usr/bin/python3.8
|
Binary file not shown.
After Width: | Height: | Size: 99 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
@ -0,0 +1,99 @@
|
|||
import sys
|
||||
import os
|
||||
import re
|
||||
import importlib
|
||||
import warnings
|
||||
|
||||
|
||||
is_pypy = '__pypy__' in sys.builtin_module_names
|
||||
|
||||
|
||||
def warn_distutils_present():
|
||||
if 'distutils' not in sys.modules:
|
||||
return
|
||||
if is_pypy and sys.version_info < (3, 7):
|
||||
# PyPy for 3.6 unconditionally imports distutils, so bypass the warning
|
||||
# https://foss.heptapod.net/pypy/pypy/-/blob/be829135bc0d758997b3566062999ee8b23872b4/lib-python/3/site.py#L250
|
||||
return
|
||||
warnings.warn(
|
||||
"Distutils was imported before Setuptools, but importing Setuptools "
|
||||
"also replaces the `distutils` module in `sys.modules`. This may lead "
|
||||
"to undesirable behaviors or errors. To avoid these issues, avoid "
|
||||
"using distutils directly, ensure that setuptools is installed in the "
|
||||
"traditional way (e.g. not an editable install), and/or make sure that "
|
||||
"setuptools is always imported before distutils.")
|
||||
|
||||
|
||||
def clear_distutils():
|
||||
if 'distutils' not in sys.modules:
|
||||
return
|
||||
warnings.warn("Setuptools is replacing distutils.")
|
||||
mods = [name for name in sys.modules if re.match(r'distutils\b', name)]
|
||||
for name in mods:
|
||||
del sys.modules[name]
|
||||
|
||||
|
||||
def enabled():
|
||||
"""
|
||||
Allow selection of distutils by environment variable.
|
||||
"""
|
||||
which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'stdlib')
|
||||
return which == 'local'
|
||||
|
||||
|
||||
def ensure_local_distutils():
|
||||
clear_distutils()
|
||||
distutils = importlib.import_module('setuptools._distutils')
|
||||
distutils.__name__ = 'distutils'
|
||||
sys.modules['distutils'] = distutils
|
||||
|
||||
# sanity check that submodules load as expected
|
||||
core = importlib.import_module('distutils.core')
|
||||
assert '_distutils' in core.__file__, core.__file__
|
||||
|
||||
|
||||
def do_override():
|
||||
"""
|
||||
Ensure that the local copy of distutils is preferred over stdlib.
|
||||
|
||||
See https://github.com/pypa/setuptools/issues/417#issuecomment-392298401
|
||||
for more motivation.
|
||||
"""
|
||||
if enabled():
|
||||
warn_distutils_present()
|
||||
ensure_local_distutils()
|
||||
|
||||
|
||||
class DistutilsMetaFinder:
|
||||
def find_spec(self, fullname, path, target=None):
|
||||
if path is not None or fullname != "distutils":
|
||||
return None
|
||||
|
||||
return self.get_distutils_spec()
|
||||
|
||||
def get_distutils_spec(self):
|
||||
import importlib.util
|
||||
|
||||
class DistutilsLoader(importlib.util.abc.Loader):
|
||||
|
||||
def create_module(self, spec):
|
||||
return importlib.import_module('._distutils', 'setuptools')
|
||||
|
||||
def exec_module(self, module):
|
||||
pass
|
||||
|
||||
return importlib.util.spec_from_loader('distutils', DistutilsLoader())
|
||||
|
||||
|
||||
DISTUTILS_FINDER = DistutilsMetaFinder()
|
||||
|
||||
|
||||
def add_shim():
|
||||
sys.meta_path.insert(0, DISTUTILS_FINDER)
|
||||
|
||||
|
||||
def remove_shim():
|
||||
try:
|
||||
sys.meta_path.remove(DISTUTILS_FINDER)
|
||||
except ValueError:
|
||||
pass
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
__import__('_distutils_hack').do_override()
|
|
@ -0,0 +1 @@
|
|||
import os; enabled = os.environ.get('SETUPTOOLS_USE_DISTUTILS') == 'local'; enabled and __import__('_distutils_hack').add_shim();
|
|
@ -0,0 +1,5 @@
|
|||
"""Run the EasyInstall command"""
|
||||
|
||||
if __name__ == '__main__':
|
||||
from setuptools.command.easy_install import main
|
||||
main()
|
|
@ -0,0 +1,107 @@
|
|||
Metadata-Version: 1.2
|
||||
Name: future
|
||||
Version: 0.18.2
|
||||
Summary: Clean single-source support for Python 3 and 2
|
||||
Home-page: https://python-future.org
|
||||
Author: Ed Schofield
|
||||
Author-email: ed@pythoncharmers.com
|
||||
License: MIT
|
||||
Description:
|
||||
future: Easy, safe support for Python 2/3 compatibility
|
||||
=======================================================
|
||||
|
||||
``future`` is the missing compatibility layer between Python 2 and Python
|
||||
3. It allows you to use a single, clean Python 3.x-compatible codebase to
|
||||
support both Python 2 and Python 3 with minimal overhead.
|
||||
|
||||
It is designed to be used as follows::
|
||||
|
||||
from __future__ import (absolute_import, division,
|
||||
print_function, unicode_literals)
|
||||
from builtins import (
|
||||
bytes, dict, int, list, object, range, str,
|
||||
ascii, chr, hex, input, next, oct, open,
|
||||
pow, round, super,
|
||||
filter, map, zip)
|
||||
|
||||
followed by predominantly standard, idiomatic Python 3 code that then runs
|
||||
similarly on Python 2.6/2.7 and Python 3.3+.
|
||||
|
||||
The imports have no effect on Python 3. On Python 2, they shadow the
|
||||
corresponding builtins, which normally have different semantics on Python 3
|
||||
versus 2, to provide their Python 3 semantics.
|
||||
|
||||
|
||||
Standard library reorganization
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
``future`` supports the standard library reorganization (PEP 3108) through the
|
||||
following Py3 interfaces:
|
||||
|
||||
>>> # Top-level packages with Py3 names provided on Py2:
|
||||
>>> import html.parser
|
||||
>>> import queue
|
||||
>>> import tkinter.dialog
|
||||
>>> import xmlrpc.client
|
||||
>>> # etc.
|
||||
|
||||
>>> # Aliases provided for extensions to existing Py2 module names:
|
||||
>>> from future.standard_library import install_aliases
|
||||
>>> install_aliases()
|
||||
|
||||
>>> from collections import Counter, OrderedDict # backported to Py2.6
|
||||
>>> from collections import UserDict, UserList, UserString
|
||||
>>> import urllib.request
|
||||
>>> from itertools import filterfalse, zip_longest
|
||||
>>> from subprocess import getoutput, getstatusoutput
|
||||
|
||||
|
||||
Automatic conversion
|
||||
--------------------
|
||||
|
||||
An included script called `futurize
|
||||
<http://python-future.org/automatic_conversion.html>`_ aids in converting
|
||||
code (from either Python 2 or Python 3) to code compatible with both
|
||||
platforms. It is similar to ``python-modernize`` but goes further in
|
||||
providing Python 3 compatibility through the use of the backported types
|
||||
and builtin functions in ``future``.
|
||||
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
See: http://python-future.org
|
||||
|
||||
|
||||
Credits
|
||||
-------
|
||||
|
||||
:Author: Ed Schofield, Jordan M. Adler, et al
|
||||
:Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte
|
||||
Ltd, Singapore. http://pythoncharmers.com
|
||||
:Others: See docs/credits.rst or http://python-future.org/credits.html
|
||||
|
||||
|
||||
Licensing
|
||||
---------
|
||||
Copyright 2013-2019 Python Charmers Pty Ltd, Australia.
|
||||
The software is distributed under an MIT licence. See LICENSE.txt.
|
||||
|
||||
|
||||
Keywords: future past python3 migration futurize backport six 2to3 modernize pasteurize 3to2
|
||||
Platform: UNKNOWN
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 2
|
||||
Classifier: Programming Language :: Python :: 2.6
|
||||
Classifier: Programming Language :: Python :: 2.7
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.3
|
||||
Classifier: Programming Language :: Python :: 3.4
|
||||
Classifier: Programming Language :: Python :: 3.5
|
||||
Classifier: Programming Language :: Python :: 3.6
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Classifier: License :: OSI Approved
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Intended Audience :: Developers
|
||||
Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*
|
|
@ -0,0 +1,390 @@
|
|||
.travis.yml
|
||||
LICENSE.txt
|
||||
MANIFEST.in
|
||||
README.rst
|
||||
TESTING.txt
|
||||
check_rst.sh
|
||||
futurize.py
|
||||
pasteurize.py
|
||||
pytest.ini
|
||||
setup.cfg
|
||||
setup.py
|
||||
docs/Makefile
|
||||
docs/automatic_conversion.rst
|
||||
docs/bind_method.rst
|
||||
docs/bytes_object.rst
|
||||
docs/changelog.rst
|
||||
docs/compatible_idioms.rst
|
||||
docs/conf.py
|
||||
docs/contents.rst.inc
|
||||
docs/conversion_limitations.rst
|
||||
docs/credits.rst
|
||||
docs/custom_iterators.rst
|
||||
docs/custom_str_methods.rst
|
||||
docs/dev_notes.rst
|
||||
docs/development.rst
|
||||
docs/dict_object.rst
|
||||
docs/faq.rst
|
||||
docs/func_annotations.rst
|
||||
docs/future-builtins.rst
|
||||
docs/futureext.py
|
||||
docs/futurize.rst
|
||||
docs/futurize_cheatsheet.rst
|
||||
docs/futurize_overview.rst
|
||||
docs/hindsight.rst
|
||||
docs/imports.rst
|
||||
docs/index.rst
|
||||
docs/int_object.rst
|
||||
docs/isinstance.rst
|
||||
docs/limitations.rst
|
||||
docs/metaclasses.rst
|
||||
docs/older_interfaces.rst
|
||||
docs/open_function.rst
|
||||
docs/overview.rst
|
||||
docs/pasteurize.rst
|
||||
docs/quickstart.rst
|
||||
docs/reference.rst
|
||||
docs/roadmap.rst
|
||||
docs/standard_library_imports.rst
|
||||
docs/stdlib_incompatibilities.rst
|
||||
docs/str_object.rst
|
||||
docs/translation.rst
|
||||
docs/unicode_literals.rst
|
||||
docs/upgrading.rst
|
||||
docs/utilities.rst
|
||||
docs/what_else.rst
|
||||
docs/whatsnew.rst
|
||||
docs/why_python3.rst
|
||||
docs/3rd-party-py3k-compat-code/astropy_py3compat.py
|
||||
docs/3rd-party-py3k-compat-code/django_utils_encoding.py
|
||||
docs/3rd-party-py3k-compat-code/gevent_py3k.py
|
||||
docs/3rd-party-py3k-compat-code/ipython_py3compat.py
|
||||
docs/3rd-party-py3k-compat-code/jinja2_compat.py
|
||||
docs/3rd-party-py3k-compat-code/numpy_py3k.py
|
||||
docs/3rd-party-py3k-compat-code/pandas_py3k.py
|
||||
docs/3rd-party-py3k-compat-code/pycrypto_py3compat.py
|
||||
docs/3rd-party-py3k-compat-code/statsmodels_py3k.py
|
||||
docs/_static/python-future-icon-32.ico
|
||||
docs/_static/python-future-icon-white-32.ico
|
||||
docs/_static/python-future-logo-textless-transparent.png
|
||||
docs/_static/python-future-logo.png
|
||||
docs/_static/python-future-logo.tiff
|
||||
docs/_templates/layout.html
|
||||
docs/_templates/navbar.html
|
||||
docs/_templates/sidebarintro.html
|
||||
docs/_templates/sidebarlogo.html
|
||||
docs/_templates/sidebartoc.html
|
||||
docs/_themes/LICENSE
|
||||
docs/_themes/README
|
||||
docs/_themes/future/layout.html
|
||||
docs/_themes/future/relations.html
|
||||
docs/_themes/future/theme.conf
|
||||
docs/_themes/future/static/future.css_t
|
||||
docs/notebooks/Writing Python 2-3 compatible code.ipynb
|
||||
docs/notebooks/bytes object.ipynb
|
||||
docs/notebooks/object special methods (next, bool, ...).ipynb
|
||||
docs/other/auto2to3.py
|
||||
docs/other/find_pattern.py
|
||||
docs/other/fix_notebook_html_colour.py
|
||||
docs/other/lessons.txt
|
||||
docs/other/todo.txt
|
||||
docs/other/upload_future_docs.sh
|
||||
docs/other/useful_links.txt
|
||||
src/__init__.py
|
||||
src/_dummy_thread/__init__.py
|
||||
src/_markupbase/__init__.py
|
||||
src/_thread/__init__.py
|
||||
src/builtins/__init__.py
|
||||
src/copyreg/__init__.py
|
||||
src/future/__init__.py
|
||||
src/future.egg-info/PKG-INFO
|
||||
src/future.egg-info/SOURCES.txt
|
||||
src/future.egg-info/dependency_links.txt
|
||||
src/future.egg-info/entry_points.txt
|
||||
src/future.egg-info/top_level.txt
|
||||
src/future/backports/__init__.py
|
||||
src/future/backports/_markupbase.py
|
||||
src/future/backports/datetime.py
|
||||
src/future/backports/misc.py
|
||||
src/future/backports/socket.py
|
||||
src/future/backports/socketserver.py
|
||||
src/future/backports/total_ordering.py
|
||||
src/future/backports/email/__init__.py
|
||||
src/future/backports/email/_encoded_words.py
|
||||
src/future/backports/email/_header_value_parser.py
|
||||
src/future/backports/email/_parseaddr.py
|
||||
src/future/backports/email/_policybase.py
|
||||
src/future/backports/email/base64mime.py
|
||||
src/future/backports/email/charset.py
|
||||
src/future/backports/email/encoders.py
|
||||
src/future/backports/email/errors.py
|
||||
src/future/backports/email/feedparser.py
|
||||
src/future/backports/email/generator.py
|
||||
src/future/backports/email/header.py
|
||||
src/future/backports/email/headerregistry.py
|
||||
src/future/backports/email/iterators.py
|
||||
src/future/backports/email/message.py
|
||||
src/future/backports/email/parser.py
|
||||
src/future/backports/email/policy.py
|
||||
src/future/backports/email/quoprimime.py
|
||||
src/future/backports/email/utils.py
|
||||
src/future/backports/email/mime/__init__.py
|
||||
src/future/backports/email/mime/application.py
|
||||
src/future/backports/email/mime/audio.py
|
||||
src/future/backports/email/mime/base.py
|
||||
src/future/backports/email/mime/image.py
|
||||
src/future/backports/email/mime/message.py
|
||||
src/future/backports/email/mime/multipart.py
|
||||
src/future/backports/email/mime/nonmultipart.py
|
||||
src/future/backports/email/mime/text.py
|
||||
src/future/backports/html/__init__.py
|
||||
src/future/backports/html/entities.py
|
||||
src/future/backports/html/parser.py
|
||||
src/future/backports/http/__init__.py
|
||||
src/future/backports/http/client.py
|
||||
src/future/backports/http/cookiejar.py
|
||||
src/future/backports/http/cookies.py
|
||||
src/future/backports/http/server.py
|
||||
src/future/backports/test/__init__.py
|
||||
src/future/backports/test/badcert.pem
|
||||
src/future/backports/test/badkey.pem
|
||||
src/future/backports/test/dh512.pem
|
||||
src/future/backports/test/https_svn_python_org_root.pem
|
||||
src/future/backports/test/keycert.passwd.pem
|
||||
src/future/backports/test/keycert.pem
|
||||
src/future/backports/test/keycert2.pem
|
||||
src/future/backports/test/nokia.pem
|
||||
src/future/backports/test/nullbytecert.pem
|
||||
src/future/backports/test/nullcert.pem
|
||||
src/future/backports/test/pystone.py
|
||||
src/future/backports/test/sha256.pem
|
||||
src/future/backports/test/ssl_cert.pem
|
||||
src/future/backports/test/ssl_key.passwd.pem
|
||||
src/future/backports/test/ssl_key.pem
|
||||
src/future/backports/test/ssl_servers.py
|
||||
src/future/backports/test/support.py
|
||||
src/future/backports/urllib/__init__.py
|
||||
src/future/backports/urllib/error.py
|
||||
src/future/backports/urllib/parse.py
|
||||
src/future/backports/urllib/request.py
|
||||
src/future/backports/urllib/response.py
|
||||
src/future/backports/urllib/robotparser.py
|
||||
src/future/backports/xmlrpc/__init__.py
|
||||
src/future/backports/xmlrpc/client.py
|
||||
src/future/backports/xmlrpc/server.py
|
||||
src/future/builtins/__init__.py
|
||||
src/future/builtins/disabled.py
|
||||
src/future/builtins/iterators.py
|
||||
src/future/builtins/misc.py
|
||||
src/future/builtins/new_min_max.py
|
||||
src/future/builtins/newnext.py
|
||||
src/future/builtins/newround.py
|
||||
src/future/builtins/newsuper.py
|
||||
src/future/moves/__init__.py
|
||||
src/future/moves/_dummy_thread.py
|
||||
src/future/moves/_markupbase.py
|
||||
src/future/moves/_thread.py
|
||||
src/future/moves/builtins.py
|
||||
src/future/moves/collections.py
|
||||
src/future/moves/configparser.py
|
||||
src/future/moves/copyreg.py
|
||||
src/future/moves/itertools.py
|
||||
src/future/moves/pickle.py
|
||||
src/future/moves/queue.py
|
||||
src/future/moves/reprlib.py
|
||||
src/future/moves/socketserver.py
|
||||
src/future/moves/subprocess.py
|
||||
src/future/moves/sys.py
|
||||
src/future/moves/winreg.py
|
||||
src/future/moves/dbm/__init__.py
|
||||
src/future/moves/dbm/dumb.py
|
||||
src/future/moves/dbm/gnu.py
|
||||
src/future/moves/dbm/ndbm.py
|
||||
src/future/moves/html/__init__.py
|
||||
src/future/moves/html/entities.py
|
||||
src/future/moves/html/parser.py
|
||||
src/future/moves/http/__init__.py
|
||||
src/future/moves/http/client.py
|
||||
src/future/moves/http/cookiejar.py
|
||||
src/future/moves/http/cookies.py
|
||||
src/future/moves/http/server.py
|
||||
src/future/moves/test/__init__.py
|
||||
src/future/moves/test/support.py
|
||||
src/future/moves/tkinter/__init__.py
|
||||
src/future/moves/tkinter/colorchooser.py
|
||||
src/future/moves/tkinter/commondialog.py
|
||||
src/future/moves/tkinter/constants.py
|
||||
src/future/moves/tkinter/dialog.py
|
||||
src/future/moves/tkinter/dnd.py
|
||||
src/future/moves/tkinter/filedialog.py
|
||||
src/future/moves/tkinter/font.py
|
||||
src/future/moves/tkinter/messagebox.py
|
||||
src/future/moves/tkinter/scrolledtext.py
|
||||
src/future/moves/tkinter/simpledialog.py
|
||||
src/future/moves/tkinter/tix.py
|
||||
src/future/moves/tkinter/ttk.py
|
||||
src/future/moves/urllib/__init__.py
|
||||
src/future/moves/urllib/error.py
|
||||
src/future/moves/urllib/parse.py
|
||||
src/future/moves/urllib/request.py
|
||||
src/future/moves/urllib/response.py
|
||||
src/future/moves/urllib/robotparser.py
|
||||
src/future/moves/xmlrpc/__init__.py
|
||||
src/future/moves/xmlrpc/client.py
|
||||
src/future/moves/xmlrpc/server.py
|
||||
src/future/standard_library/__init__.py
|
||||
src/future/tests/__init__.py
|
||||
src/future/tests/base.py
|
||||
src/future/types/__init__.py
|
||||
src/future/types/newbytes.py
|
||||
src/future/types/newdict.py
|
||||
src/future/types/newint.py
|
||||
src/future/types/newlist.py
|
||||
src/future/types/newmemoryview.py
|
||||
src/future/types/newobject.py
|
||||
src/future/types/newopen.py
|
||||
src/future/types/newrange.py
|
||||
src/future/types/newstr.py
|
||||
src/future/utils/__init__.py
|
||||
src/future/utils/surrogateescape.py
|
||||
src/html/__init__.py
|
||||
src/html/entities.py
|
||||
src/html/parser.py
|
||||
src/http/__init__.py
|
||||
src/http/client.py
|
||||
src/http/cookiejar.py
|
||||
src/http/cookies.py
|
||||
src/http/server.py
|
||||
src/libfuturize/__init__.py
|
||||
src/libfuturize/fixer_util.py
|
||||
src/libfuturize/main.py
|
||||
src/libfuturize/fixes/__init__.py
|
||||
src/libfuturize/fixes/fix_UserDict.py
|
||||
src/libfuturize/fixes/fix_absolute_import.py
|
||||
src/libfuturize/fixes/fix_add__future__imports_except_unicode_literals.py
|
||||
src/libfuturize/fixes/fix_basestring.py
|
||||
src/libfuturize/fixes/fix_bytes.py
|
||||
src/libfuturize/fixes/fix_cmp.py
|
||||
src/libfuturize/fixes/fix_division.py
|
||||
src/libfuturize/fixes/fix_division_safe.py
|
||||
src/libfuturize/fixes/fix_execfile.py
|
||||
src/libfuturize/fixes/fix_future_builtins.py
|
||||
src/libfuturize/fixes/fix_future_standard_library.py
|
||||
src/libfuturize/fixes/fix_future_standard_library_urllib.py
|
||||
src/libfuturize/fixes/fix_input.py
|
||||
src/libfuturize/fixes/fix_metaclass.py
|
||||
src/libfuturize/fixes/fix_next_call.py
|
||||
src/libfuturize/fixes/fix_object.py
|
||||
src/libfuturize/fixes/fix_oldstr_wrap.py
|
||||
src/libfuturize/fixes/fix_order___future__imports.py
|
||||
src/libfuturize/fixes/fix_print.py
|
||||
src/libfuturize/fixes/fix_print_with_import.py
|
||||
src/libfuturize/fixes/fix_raise.py
|
||||
src/libfuturize/fixes/fix_remove_old__future__imports.py
|
||||
src/libfuturize/fixes/fix_unicode_keep_u.py
|
||||
src/libfuturize/fixes/fix_unicode_literals_import.py
|
||||
src/libfuturize/fixes/fix_xrange_with_import.py
|
||||
src/libpasteurize/__init__.py
|
||||
src/libpasteurize/main.py
|
||||
src/libpasteurize/fixes/__init__.py
|
||||
src/libpasteurize/fixes/feature_base.py
|
||||
src/libpasteurize/fixes/fix_add_all__future__imports.py
|
||||
src/libpasteurize/fixes/fix_add_all_future_builtins.py
|
||||
src/libpasteurize/fixes/fix_add_future_standard_library_import.py
|
||||
src/libpasteurize/fixes/fix_annotations.py
|
||||
src/libpasteurize/fixes/fix_division.py
|
||||
src/libpasteurize/fixes/fix_features.py
|
||||
src/libpasteurize/fixes/fix_fullargspec.py
|
||||
src/libpasteurize/fixes/fix_future_builtins.py
|
||||
src/libpasteurize/fixes/fix_getcwd.py
|
||||
src/libpasteurize/fixes/fix_imports.py
|
||||
src/libpasteurize/fixes/fix_imports2.py
|
||||
src/libpasteurize/fixes/fix_kwargs.py
|
||||
src/libpasteurize/fixes/fix_memoryview.py
|
||||
src/libpasteurize/fixes/fix_metaclass.py
|
||||
src/libpasteurize/fixes/fix_newstyle.py
|
||||
src/libpasteurize/fixes/fix_next.py
|
||||
src/libpasteurize/fixes/fix_printfunction.py
|
||||
src/libpasteurize/fixes/fix_raise.py
|
||||
src/libpasteurize/fixes/fix_raise_.py
|
||||
src/libpasteurize/fixes/fix_throw.py
|
||||
src/libpasteurize/fixes/fix_unpacking.py
|
||||
src/past/__init__.py
|
||||
src/past/builtins/__init__.py
|
||||
src/past/builtins/misc.py
|
||||
src/past/builtins/noniterators.py
|
||||
src/past/translation/__init__.py
|
||||
src/past/types/__init__.py
|
||||
src/past/types/basestring.py
|
||||
src/past/types/olddict.py
|
||||
src/past/types/oldstr.py
|
||||
src/past/utils/__init__.py
|
||||
src/queue/__init__.py
|
||||
src/reprlib/__init__.py
|
||||
src/socketserver/__init__.py
|
||||
src/tkinter/__init__.py
|
||||
src/tkinter/colorchooser.py
|
||||
src/tkinter/commondialog.py
|
||||
src/tkinter/constants.py
|
||||
src/tkinter/dialog.py
|
||||
src/tkinter/dnd.py
|
||||
src/tkinter/filedialog.py
|
||||
src/tkinter/font.py
|
||||
src/tkinter/messagebox.py
|
||||
src/tkinter/scrolledtext.py
|
||||
src/tkinter/simpledialog.py
|
||||
src/tkinter/tix.py
|
||||
src/tkinter/ttk.py
|
||||
src/winreg/__init__.py
|
||||
src/xmlrpc/__init__.py
|
||||
src/xmlrpc/client.py
|
||||
src/xmlrpc/server.py
|
||||
tests/test_future/__init__.py
|
||||
tests/test_future/test_backports.py
|
||||
tests/test_future/test_buffer.py
|
||||
tests/test_future/test_builtins.py
|
||||
tests/test_future/test_builtins_explicit_import.py
|
||||
tests/test_future/test_bytes.py
|
||||
tests/test_future/test_chainmap.py
|
||||
tests/test_future/test_common_iterators.py
|
||||
tests/test_future/test_decorators.py
|
||||
tests/test_future/test_dict.py
|
||||
tests/test_future/test_email_multipart.py
|
||||
tests/test_future/test_explicit_imports.py
|
||||
tests/test_future/test_futurize.py
|
||||
tests/test_future/test_html.py
|
||||
tests/test_future/test_htmlparser.py
|
||||
tests/test_future/test_http_cookiejar.py
|
||||
tests/test_future/test_httplib.py
|
||||
tests/test_future/test_import_star.py
|
||||
tests/test_future/test_imports_httplib.py
|
||||
tests/test_future/test_imports_urllib.py
|
||||
tests/test_future/test_int.py
|
||||
tests/test_future/test_int_old_division.py
|
||||
tests/test_future/test_isinstance.py
|
||||
tests/test_future/test_libfuturize_fixers.py
|
||||
tests/test_future/test_list.py
|
||||
tests/test_future/test_magicsuper.py
|
||||
tests/test_future/test_object.py
|
||||
tests/test_future/test_pasteurize.py
|
||||
tests/test_future/test_py2_str_literals_to_bytes.py
|
||||
tests/test_future/test_range.py
|
||||
tests/test_future/test_requests.py
|
||||
tests/test_future/test_standard_library.py
|
||||
tests/test_future/test_str.py
|
||||
tests/test_future/test_super.py
|
||||
tests/test_future/test_surrogateescape.py
|
||||
tests/test_future/test_urllib.py
|
||||
tests/test_future/test_urllib2.py
|
||||
tests/test_future/test_urllib_response.py
|
||||
tests/test_future/test_urllib_toplevel.py
|
||||
tests/test_future/test_urllibnet.py
|
||||
tests/test_future/test_urlparse.py
|
||||
tests/test_future/test_utils.py
|
||||
tests/test_past/__init__.py
|
||||
tests/test_past/test_basestring.py
|
||||
tests/test_past/test_builtins.py
|
||||
tests/test_past/test_noniterators.py
|
||||
tests/test_past/test_olddict.py
|
||||
tests/test_past/test_oldstr.py
|
||||
tests/test_past/test_translation.py
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
[console_scripts]
|
||||
futurize = libfuturize.main:main
|
||||
pasteurize = libpasteurize.main:main
|
||||
|
|
@ -0,0 +1,413 @@
|
|||
../../../../bin/futurize
|
||||
../../../../bin/pasteurize
|
||||
../future/__init__.py
|
||||
../future/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/__init__.py
|
||||
../future/backports/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/__pycache__/_markupbase.cpython-38.pyc
|
||||
../future/backports/__pycache__/datetime.cpython-38.pyc
|
||||
../future/backports/__pycache__/misc.cpython-38.pyc
|
||||
../future/backports/__pycache__/socket.cpython-38.pyc
|
||||
../future/backports/__pycache__/socketserver.cpython-38.pyc
|
||||
../future/backports/__pycache__/total_ordering.cpython-38.pyc
|
||||
../future/backports/_markupbase.py
|
||||
../future/backports/datetime.py
|
||||
../future/backports/email/__init__.py
|
||||
../future/backports/email/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/_encoded_words.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/_header_value_parser.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/_parseaddr.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/_policybase.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/base64mime.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/charset.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/encoders.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/errors.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/feedparser.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/generator.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/header.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/headerregistry.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/iterators.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/message.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/parser.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/policy.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/quoprimime.cpython-38.pyc
|
||||
../future/backports/email/__pycache__/utils.cpython-38.pyc
|
||||
../future/backports/email/_encoded_words.py
|
||||
../future/backports/email/_header_value_parser.py
|
||||
../future/backports/email/_parseaddr.py
|
||||
../future/backports/email/_policybase.py
|
||||
../future/backports/email/base64mime.py
|
||||
../future/backports/email/charset.py
|
||||
../future/backports/email/encoders.py
|
||||
../future/backports/email/errors.py
|
||||
../future/backports/email/feedparser.py
|
||||
../future/backports/email/generator.py
|
||||
../future/backports/email/header.py
|
||||
../future/backports/email/headerregistry.py
|
||||
../future/backports/email/iterators.py
|
||||
../future/backports/email/message.py
|
||||
../future/backports/email/mime/__init__.py
|
||||
../future/backports/email/mime/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/email/mime/__pycache__/application.cpython-38.pyc
|
||||
../future/backports/email/mime/__pycache__/audio.cpython-38.pyc
|
||||
../future/backports/email/mime/__pycache__/base.cpython-38.pyc
|
||||
../future/backports/email/mime/__pycache__/image.cpython-38.pyc
|
||||
../future/backports/email/mime/__pycache__/message.cpython-38.pyc
|
||||
../future/backports/email/mime/__pycache__/multipart.cpython-38.pyc
|
||||
../future/backports/email/mime/__pycache__/nonmultipart.cpython-38.pyc
|
||||
../future/backports/email/mime/__pycache__/text.cpython-38.pyc
|
||||
../future/backports/email/mime/application.py
|
||||
../future/backports/email/mime/audio.py
|
||||
../future/backports/email/mime/base.py
|
||||
../future/backports/email/mime/image.py
|
||||
../future/backports/email/mime/message.py
|
||||
../future/backports/email/mime/multipart.py
|
||||
../future/backports/email/mime/nonmultipart.py
|
||||
../future/backports/email/mime/text.py
|
||||
../future/backports/email/parser.py
|
||||
../future/backports/email/policy.py
|
||||
../future/backports/email/quoprimime.py
|
||||
../future/backports/email/utils.py
|
||||
../future/backports/html/__init__.py
|
||||
../future/backports/html/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/html/__pycache__/entities.cpython-38.pyc
|
||||
../future/backports/html/__pycache__/parser.cpython-38.pyc
|
||||
../future/backports/html/entities.py
|
||||
../future/backports/html/parser.py
|
||||
../future/backports/http/__init__.py
|
||||
../future/backports/http/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/http/__pycache__/client.cpython-38.pyc
|
||||
../future/backports/http/__pycache__/cookiejar.cpython-38.pyc
|
||||
../future/backports/http/__pycache__/cookies.cpython-38.pyc
|
||||
../future/backports/http/__pycache__/server.cpython-38.pyc
|
||||
../future/backports/http/client.py
|
||||
../future/backports/http/cookiejar.py
|
||||
../future/backports/http/cookies.py
|
||||
../future/backports/http/server.py
|
||||
../future/backports/misc.py
|
||||
../future/backports/socket.py
|
||||
../future/backports/socketserver.py
|
||||
../future/backports/test/__init__.py
|
||||
../future/backports/test/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/test/__pycache__/pystone.cpython-38.pyc
|
||||
../future/backports/test/__pycache__/ssl_servers.cpython-38.pyc
|
||||
../future/backports/test/__pycache__/support.cpython-38.pyc
|
||||
../future/backports/test/badcert.pem
|
||||
../future/backports/test/badkey.pem
|
||||
../future/backports/test/dh512.pem
|
||||
../future/backports/test/https_svn_python_org_root.pem
|
||||
../future/backports/test/keycert.passwd.pem
|
||||
../future/backports/test/keycert.pem
|
||||
../future/backports/test/keycert2.pem
|
||||
../future/backports/test/nokia.pem
|
||||
../future/backports/test/nullbytecert.pem
|
||||
../future/backports/test/nullcert.pem
|
||||
../future/backports/test/pystone.py
|
||||
../future/backports/test/sha256.pem
|
||||
../future/backports/test/ssl_cert.pem
|
||||
../future/backports/test/ssl_key.passwd.pem
|
||||
../future/backports/test/ssl_key.pem
|
||||
../future/backports/test/ssl_servers.py
|
||||
../future/backports/test/support.py
|
||||
../future/backports/total_ordering.py
|
||||
../future/backports/urllib/__init__.py
|
||||
../future/backports/urllib/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/urllib/__pycache__/error.cpython-38.pyc
|
||||
../future/backports/urllib/__pycache__/parse.cpython-38.pyc
|
||||
../future/backports/urllib/__pycache__/request.cpython-38.pyc
|
||||
../future/backports/urllib/__pycache__/response.cpython-38.pyc
|
||||
../future/backports/urllib/__pycache__/robotparser.cpython-38.pyc
|
||||
../future/backports/urllib/error.py
|
||||
../future/backports/urllib/parse.py
|
||||
../future/backports/urllib/request.py
|
||||
../future/backports/urllib/response.py
|
||||
../future/backports/urllib/robotparser.py
|
||||
../future/backports/xmlrpc/__init__.py
|
||||
../future/backports/xmlrpc/__pycache__/__init__.cpython-38.pyc
|
||||
../future/backports/xmlrpc/__pycache__/client.cpython-38.pyc
|
||||
../future/backports/xmlrpc/__pycache__/server.cpython-38.pyc
|
||||
../future/backports/xmlrpc/client.py
|
||||
../future/backports/xmlrpc/server.py
|
||||
../future/builtins/__init__.py
|
||||
../future/builtins/__pycache__/__init__.cpython-38.pyc
|
||||
../future/builtins/__pycache__/disabled.cpython-38.pyc
|
||||
../future/builtins/__pycache__/iterators.cpython-38.pyc
|
||||
../future/builtins/__pycache__/misc.cpython-38.pyc
|
||||
../future/builtins/__pycache__/new_min_max.cpython-38.pyc
|
||||
../future/builtins/__pycache__/newnext.cpython-38.pyc
|
||||
../future/builtins/__pycache__/newround.cpython-38.pyc
|
||||
../future/builtins/__pycache__/newsuper.cpython-38.pyc
|
||||
../future/builtins/disabled.py
|
||||
../future/builtins/iterators.py
|
||||
../future/builtins/misc.py
|
||||
../future/builtins/new_min_max.py
|
||||
../future/builtins/newnext.py
|
||||
../future/builtins/newround.py
|
||||
../future/builtins/newsuper.py
|
||||
../future/moves/__init__.py
|
||||
../future/moves/__pycache__/__init__.cpython-38.pyc
|
||||
../future/moves/__pycache__/_dummy_thread.cpython-38.pyc
|
||||
../future/moves/__pycache__/_markupbase.cpython-38.pyc
|
||||
../future/moves/__pycache__/_thread.cpython-38.pyc
|
||||
../future/moves/__pycache__/builtins.cpython-38.pyc
|
||||
../future/moves/__pycache__/collections.cpython-38.pyc
|
||||
../future/moves/__pycache__/configparser.cpython-38.pyc
|
||||
../future/moves/__pycache__/copyreg.cpython-38.pyc
|
||||
../future/moves/__pycache__/itertools.cpython-38.pyc
|
||||
../future/moves/__pycache__/pickle.cpython-38.pyc
|
||||
../future/moves/__pycache__/queue.cpython-38.pyc
|
||||
../future/moves/__pycache__/reprlib.cpython-38.pyc
|
||||
../future/moves/__pycache__/socketserver.cpython-38.pyc
|
||||
../future/moves/__pycache__/subprocess.cpython-38.pyc
|
||||
../future/moves/__pycache__/sys.cpython-38.pyc
|
||||
../future/moves/__pycache__/winreg.cpython-38.pyc
|
||||
../future/moves/_dummy_thread.py
|
||||
../future/moves/_markupbase.py
|
||||
../future/moves/_thread.py
|
||||
../future/moves/builtins.py
|
||||
../future/moves/collections.py
|
||||
../future/moves/configparser.py
|
||||
../future/moves/copyreg.py
|
||||
../future/moves/dbm/__init__.py
|
||||
../future/moves/dbm/__pycache__/__init__.cpython-38.pyc
|
||||
../future/moves/dbm/__pycache__/dumb.cpython-38.pyc
|
||||
../future/moves/dbm/__pycache__/gnu.cpython-38.pyc
|
||||
../future/moves/dbm/__pycache__/ndbm.cpython-38.pyc
|
||||
../future/moves/dbm/dumb.py
|
||||
../future/moves/dbm/gnu.py
|
||||
../future/moves/dbm/ndbm.py
|
||||
../future/moves/html/__init__.py
|
||||
../future/moves/html/__pycache__/__init__.cpython-38.pyc
|
||||
../future/moves/html/__pycache__/entities.cpython-38.pyc
|
||||
../future/moves/html/__pycache__/parser.cpython-38.pyc
|
||||
../future/moves/html/entities.py
|
||||
../future/moves/html/parser.py
|
||||
../future/moves/http/__init__.py
|
||||
../future/moves/http/__pycache__/__init__.cpython-38.pyc
|
||||
../future/moves/http/__pycache__/client.cpython-38.pyc
|
||||
../future/moves/http/__pycache__/cookiejar.cpython-38.pyc
|
||||
../future/moves/http/__pycache__/cookies.cpython-38.pyc
|
||||
../future/moves/http/__pycache__/server.cpython-38.pyc
|
||||
../future/moves/http/client.py
|
||||
../future/moves/http/cookiejar.py
|
||||
../future/moves/http/cookies.py
|
||||
../future/moves/http/server.py
|
||||
../future/moves/itertools.py
|
||||
../future/moves/pickle.py
|
||||
../future/moves/queue.py
|
||||
../future/moves/reprlib.py
|
||||
../future/moves/socketserver.py
|
||||
../future/moves/subprocess.py
|
||||
../future/moves/sys.py
|
||||
../future/moves/test/__init__.py
|
||||
../future/moves/test/__pycache__/__init__.cpython-38.pyc
|
||||
../future/moves/test/__pycache__/support.cpython-38.pyc
|
||||
../future/moves/test/support.py
|
||||
../future/moves/tkinter/__init__.py
|
||||
../future/moves/tkinter/__pycache__/__init__.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/colorchooser.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/commondialog.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/constants.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/dialog.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/dnd.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/filedialog.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/font.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/messagebox.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/scrolledtext.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/simpledialog.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/tix.cpython-38.pyc
|
||||
../future/moves/tkinter/__pycache__/ttk.cpython-38.pyc
|
||||
../future/moves/tkinter/colorchooser.py
|
||||
../future/moves/tkinter/commondialog.py
|
||||
../future/moves/tkinter/constants.py
|
||||
../future/moves/tkinter/dialog.py
|
||||
../future/moves/tkinter/dnd.py
|
||||
../future/moves/tkinter/filedialog.py
|
||||
../future/moves/tkinter/font.py
|
||||
../future/moves/tkinter/messagebox.py
|
||||
../future/moves/tkinter/scrolledtext.py
|
||||
../future/moves/tkinter/simpledialog.py
|
||||
../future/moves/tkinter/tix.py
|
||||
../future/moves/tkinter/ttk.py
|
||||
../future/moves/urllib/__init__.py
|
||||
../future/moves/urllib/__pycache__/__init__.cpython-38.pyc
|
||||
../future/moves/urllib/__pycache__/error.cpython-38.pyc
|
||||
../future/moves/urllib/__pycache__/parse.cpython-38.pyc
|
||||
../future/moves/urllib/__pycache__/request.cpython-38.pyc
|
||||
../future/moves/urllib/__pycache__/response.cpython-38.pyc
|
||||
../future/moves/urllib/__pycache__/robotparser.cpython-38.pyc
|
||||
../future/moves/urllib/error.py
|
||||
../future/moves/urllib/parse.py
|
||||
../future/moves/urllib/request.py
|
||||
../future/moves/urllib/response.py
|
||||
../future/moves/urllib/robotparser.py
|
||||
../future/moves/winreg.py
|
||||
../future/moves/xmlrpc/__init__.py
|
||||
../future/moves/xmlrpc/__pycache__/__init__.cpython-38.pyc
|
||||
../future/moves/xmlrpc/__pycache__/client.cpython-38.pyc
|
||||
../future/moves/xmlrpc/__pycache__/server.cpython-38.pyc
|
||||
../future/moves/xmlrpc/client.py
|
||||
../future/moves/xmlrpc/server.py
|
||||
../future/standard_library/__init__.py
|
||||
../future/standard_library/__pycache__/__init__.cpython-38.pyc
|
||||
../future/tests/__init__.py
|
||||
../future/tests/__pycache__/__init__.cpython-38.pyc
|
||||
../future/tests/__pycache__/base.cpython-38.pyc
|
||||
../future/tests/base.py
|
||||
../future/types/__init__.py
|
||||
../future/types/__pycache__/__init__.cpython-38.pyc
|
||||
../future/types/__pycache__/newbytes.cpython-38.pyc
|
||||
../future/types/__pycache__/newdict.cpython-38.pyc
|
||||
../future/types/__pycache__/newint.cpython-38.pyc
|
||||
../future/types/__pycache__/newlist.cpython-38.pyc
|
||||
../future/types/__pycache__/newmemoryview.cpython-38.pyc
|
||||
../future/types/__pycache__/newobject.cpython-38.pyc
|
||||
../future/types/__pycache__/newopen.cpython-38.pyc
|
||||
../future/types/__pycache__/newrange.cpython-38.pyc
|
||||
../future/types/__pycache__/newstr.cpython-38.pyc
|
||||
../future/types/newbytes.py
|
||||
../future/types/newdict.py
|
||||
../future/types/newint.py
|
||||
../future/types/newlist.py
|
||||
../future/types/newmemoryview.py
|
||||
../future/types/newobject.py
|
||||
../future/types/newopen.py
|
||||
../future/types/newrange.py
|
||||
../future/types/newstr.py
|
||||
../future/utils/__init__.py
|
||||
../future/utils/__pycache__/__init__.cpython-38.pyc
|
||||
../future/utils/__pycache__/surrogateescape.cpython-38.pyc
|
||||
../future/utils/surrogateescape.py
|
||||
../libfuturize/__init__.py
|
||||
../libfuturize/__pycache__/__init__.cpython-38.pyc
|
||||
../libfuturize/__pycache__/fixer_util.cpython-38.pyc
|
||||
../libfuturize/__pycache__/main.cpython-38.pyc
|
||||
../libfuturize/fixer_util.py
|
||||
../libfuturize/fixes/__init__.py
|
||||
../libfuturize/fixes/__pycache__/__init__.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_UserDict.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_absolute_import.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_add__future__imports_except_unicode_literals.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_basestring.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_bytes.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_cmp.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_division.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_division_safe.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_execfile.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_future_builtins.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_future_standard_library.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_future_standard_library_urllib.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_input.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_metaclass.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_next_call.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_object.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_oldstr_wrap.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_order___future__imports.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_print.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_print_with_import.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_raise.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_remove_old__future__imports.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_unicode_keep_u.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_unicode_literals_import.cpython-38.pyc
|
||||
../libfuturize/fixes/__pycache__/fix_xrange_with_import.cpython-38.pyc
|
||||
../libfuturize/fixes/fix_UserDict.py
|
||||
../libfuturize/fixes/fix_absolute_import.py
|
||||
../libfuturize/fixes/fix_add__future__imports_except_unicode_literals.py
|
||||
../libfuturize/fixes/fix_basestring.py
|
||||
../libfuturize/fixes/fix_bytes.py
|
||||
../libfuturize/fixes/fix_cmp.py
|
||||
../libfuturize/fixes/fix_division.py
|
||||
../libfuturize/fixes/fix_division_safe.py
|
||||
../libfuturize/fixes/fix_execfile.py
|
||||
../libfuturize/fixes/fix_future_builtins.py
|
||||
../libfuturize/fixes/fix_future_standard_library.py
|
||||
../libfuturize/fixes/fix_future_standard_library_urllib.py
|
||||
../libfuturize/fixes/fix_input.py
|
||||
../libfuturize/fixes/fix_metaclass.py
|
||||
../libfuturize/fixes/fix_next_call.py
|
||||
../libfuturize/fixes/fix_object.py
|
||||
../libfuturize/fixes/fix_oldstr_wrap.py
|
||||
../libfuturize/fixes/fix_order___future__imports.py
|
||||
../libfuturize/fixes/fix_print.py
|
||||
../libfuturize/fixes/fix_print_with_import.py
|
||||
../libfuturize/fixes/fix_raise.py
|
||||
../libfuturize/fixes/fix_remove_old__future__imports.py
|
||||
../libfuturize/fixes/fix_unicode_keep_u.py
|
||||
../libfuturize/fixes/fix_unicode_literals_import.py
|
||||
../libfuturize/fixes/fix_xrange_with_import.py
|
||||
../libfuturize/main.py
|
||||
../libpasteurize/__init__.py
|
||||
../libpasteurize/__pycache__/__init__.cpython-38.pyc
|
||||
../libpasteurize/__pycache__/main.cpython-38.pyc
|
||||
../libpasteurize/fixes/__init__.py
|
||||
../libpasteurize/fixes/__pycache__/__init__.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/feature_base.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_add_all__future__imports.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_add_all_future_builtins.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_add_future_standard_library_import.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_annotations.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_division.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_features.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_fullargspec.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_future_builtins.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_getcwd.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_imports.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_imports2.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_kwargs.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_memoryview.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_metaclass.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_newstyle.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_next.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_printfunction.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_raise.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_raise_.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_throw.cpython-38.pyc
|
||||
../libpasteurize/fixes/__pycache__/fix_unpacking.cpython-38.pyc
|
||||
../libpasteurize/fixes/feature_base.py
|
||||
../libpasteurize/fixes/fix_add_all__future__imports.py
|
||||
../libpasteurize/fixes/fix_add_all_future_builtins.py
|
||||
../libpasteurize/fixes/fix_add_future_standard_library_import.py
|
||||
../libpasteurize/fixes/fix_annotations.py
|
||||
../libpasteurize/fixes/fix_division.py
|
||||
../libpasteurize/fixes/fix_features.py
|
||||
../libpasteurize/fixes/fix_fullargspec.py
|
||||
../libpasteurize/fixes/fix_future_builtins.py
|
||||
../libpasteurize/fixes/fix_getcwd.py
|
||||
../libpasteurize/fixes/fix_imports.py
|
||||
../libpasteurize/fixes/fix_imports2.py
|
||||
../libpasteurize/fixes/fix_kwargs.py
|
||||
../libpasteurize/fixes/fix_memoryview.py
|
||||
../libpasteurize/fixes/fix_metaclass.py
|
||||
../libpasteurize/fixes/fix_newstyle.py
|
||||
../libpasteurize/fixes/fix_next.py
|
||||
../libpasteurize/fixes/fix_printfunction.py
|
||||
../libpasteurize/fixes/fix_raise.py
|
||||
../libpasteurize/fixes/fix_raise_.py
|
||||
../libpasteurize/fixes/fix_throw.py
|
||||
../libpasteurize/fixes/fix_unpacking.py
|
||||
../libpasteurize/main.py
|
||||
../past/__init__.py
|
||||
../past/__pycache__/__init__.cpython-38.pyc
|
||||
../past/builtins/__init__.py
|
||||
../past/builtins/__pycache__/__init__.cpython-38.pyc
|
||||
../past/builtins/__pycache__/misc.cpython-38.pyc
|
||||
../past/builtins/__pycache__/noniterators.cpython-38.pyc
|
||||
../past/builtins/misc.py
|
||||
../past/builtins/noniterators.py
|
||||
../past/translation/__init__.py
|
||||
../past/translation/__pycache__/__init__.cpython-38.pyc
|
||||
../past/types/__init__.py
|
||||
../past/types/__pycache__/__init__.cpython-38.pyc
|
||||
../past/types/__pycache__/basestring.cpython-38.pyc
|
||||
../past/types/__pycache__/olddict.cpython-38.pyc
|
||||
../past/types/__pycache__/oldstr.cpython-38.pyc
|
||||
../past/types/basestring.py
|
||||
../past/types/olddict.py
|
||||
../past/types/oldstr.py
|
||||
../past/utils/__init__.py
|
||||
../past/utils/__pycache__/__init__.cpython-38.pyc
|
||||
PKG-INFO
|
||||
SOURCES.txt
|
||||
dependency_links.txt
|
||||
entry_points.txt
|
||||
top_level.txt
|
|
@ -0,0 +1,4 @@
|
|||
future
|
||||
libfuturize
|
||||
libpasteurize
|
||||
past
|
|
@ -0,0 +1,93 @@
|
|||