This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\Windows\system32> cd ~ | |
| PS C:\Users\jaraco> mkdir foo | |
| Directory: C:\Users\jaraco | |
| Mode LastWriteTime Length Name | |
| ---- ------------- ------ ---- | |
| d----- 12/31/2017 1:31 PM foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\users\jaraco> New-Item -Path bar -ItemType SymbolicLink -Value foo | |
| Directory: C:\users\jaraco | |
| Mode LastWriteTime Length Name | |
| ---- ------------- ------ ---- | |
| d----l 12/31/2017 1:34 PM bar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\users\jaraco> New-Item -Path bar -ItemType SymbolicLink -Value foo | |
| New-Item : Cannot find path 'C:\users\jaraco\foo' because it does not exist. | |
| At line:1 char:1 | |
| + New-Item -Path bar -ItemType SymbolicLink -Value foo | |
| + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| + CategoryInfo : ObjectNotFound: (C:\users\jaraco\foo:String) [New-Item], ItemNotFoundException | |
| + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemCommand | |
| PS C:\users\jaraco> cmd /c mklink /d bar foo | |
| symbolic link created for bar <<===>> foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\users\jaraco> rmdir foo | |
| PS C:\users\jaraco> New-Item -Path bar -ItemType SymbolicLink -Value foo | |
| New-Item : Cannot find path 'C:\users\jaraco\foo' because it does not exist. | |
| At line:1 char:1 | |
| + New-Item -Path bar -ItemType SymbolicLink -Value foo | |
| + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| + CategoryInfo : ObjectNotFound: (C:\users\jaraco\foo:String) [New-Item], ItemNotFoundException | |
| + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemCommand |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\users\jaraco> cmd /c mklink /d bar foo | |
| symbolic link created for bar <<===>> foo | |
| PS C:\users\jaraco> mkdir foo | |
| Directory: C:\users\jaraco | |
| Mode LastWriteTime Length Name | |
| ---- ------------- ------ ---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Build script to create a doc-to-pdf convert server as a Windows executable. | |
| """ | |
| import os | |
| setup_params = dict( | |
| console=['server.py'], | |
| script_args=('py2exe',), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\Users\jaraco\m\jaraco.office> py -3.4 .\build-exe.py | |
| running py2exe | |
| Traceback (most recent call last): | |
| File ".\build-exe.py", line 21, in <module> | |
| setup(**setup_params) | |
| File "C:\Python34\lib\distutils\core.py", line 148, in setup | |
| dist.run_commands() | |
| File "C:\Python34\lib\distutils\dist.py", line 955, in run_commands | |
| self.run_command(cmd) | |
| File "C:\Python34\lib\distutils\dist.py", line 974, in run_command |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Build script to create a doc-to-pdf convert server as a Windows executable. | |
| """ | |
| import os | |
| setup_params = dict( | |
| console=['server.py'], | |
| options=dict( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\Users\jaraco\m\jaraco.office> py -3.4 .\build-exe.py | |
| running py2exe | |
| 3 missing Modules | |
| ------------------ | |
| ? jaraco.classes imported from __SCRIPT__ | |
| ? packaging imported from pkg_resources | |
| ? readline imported from cmd, code, pdb | |
| Building 'dist\server.exe'. | |
| Building shared code archive 'dist\library.zip'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git diff | |
| diff --git a/tox.ini b/tox.ini | |
| index e3e9110b..f55fd493 100644 | |
| --- a/tox.ini | |
| +++ b/tox.ini | |
| @@ -1,5 +1,6 @@ | |
| [tox] | |
| envlist = python | |
| +minversion = 2.4 | |