Commit fcc4608a authored by xuebingbing's avatar xuebingbing

常规提交

parent 16fdb4ba
## pycharm ignore
# 忽略所有 . 开头的文件或者文件夹
.*
#
.git
etc/log/setup.log
etc/log/setup.log.full
# 排除 .gitignore 本身
!/.gitignore
......
This diff is collapsed.
Copyright (c) 2011, Edward George, based on code contained within the
virtualenv project.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Metadata-Version: 2.1
Name: virtualenv-clone
Version: 0.5.4
Summary: script to clone virtualenvs.
Home-page: https://github.com/edwardgeorge/virtualenv-clone
Author: Edward George
Author-email: edwardgeorge@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Description-Content-Type: text/markdown
virtualenv cloning script.
[![Build Status](https://travis-ci.org/edwardgeorge/virtualenv-clone.svg?branch=master)](https://travis-ci.org/edwardgeorge/virtualenv-clone)
A script for cloning a non-relocatable virtualenv.
Virtualenv provides a way to make virtualenv's relocatable which could then be
copied as we wanted. However making a virtualenv relocatable this way breaks
the no-site-packages isolation of the virtualenv as well as other aspects that
come with relative paths and `/usr/bin/env` shebangs that may be undesirable.
Also, the .pth and .egg-link rewriting doesn't seem to work as intended. This
attempts to overcome these issues and provide a way to easily clone an
existing virtualenv.
It performs the following:
- copies `sys.argv[1]` dir to `sys.argv[2]`
- updates the hardcoded `VIRTUAL_ENV` variable in the activate script to the
new repo location. (`--relocatable` doesn't touch this)
- updates the shebangs of the various scripts in bin to the new Python if
they pointed to the old Python. (version numbering is retained.)
it can also change `/usr/bin/env python` shebangs to be absolute too,
though this functionality is not exposed at present.
- checks `sys.path` of the cloned virtualenv and if any of the paths are from
the old environment it finds any `.pth` or `.egg` link files within sys.path
located in the new environment and makes sure any absolute paths to the
old environment are updated to the new environment.
- finally it double checks `sys.path` again and will fail if there are still
paths from the old environment present.
NOTE: This script requires Python 2.7 or 3.4+
../../Scripts/virtualenv-clone.exe,sha256=MRkVZiJWAhvV4LzCuyl1iecCfv7Xlqwn8L9rEQW4_kg,106332
__pycache__/clonevirtualenv.cpython-37.pyc,,
clonevirtualenv.py,sha256=vMwJ1FGFN8mu9U2vp0VI3JOshu_jm4sEfx3Rwy45-dA,10716
virtualenv_clone-0.5.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
virtualenv_clone-0.5.4.dist-info/LICENSE,sha256=3PnuvXQqZEhe8jCBwUMO2YLhMvsTmk5JIbwFotjtB0U,1114
virtualenv_clone-0.5.4.dist-info/METADATA,sha256=ZMasD8Oq9wJAJh9LPnrPCbDAHtODr4ljRNNrB_pXluE,2569
virtualenv_clone-0.5.4.dist-info/RECORD,,
virtualenv_clone-0.5.4.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
virtualenv_clone-0.5.4.dist-info/entry_points.txt,sha256=k9yE5XeeSqTq-iEPVcmhgR-LJEwq0bU9eCknEit93bc,59
virtualenv_clone-0.5.4.dist-info/top_level.txt,sha256=7UgyrNAtFl6jcGdichUP2e0v90RtaKIWw7jDUFEJvyg,16
Wheel-Version: 1.0
Generator: bdist_wheel (0.34.2)
Root-Is-Purelib: true
Tag: py2-none-any
Tag: py3-none-any
[console_scripts]
virtualenv-clone = clonevirtualenv:main
1599462548
\ No newline at end of file
1599721915
\ No newline at end of file
......@@ -4705,3 +4705,15 @@
2020/09/08 10:57:10 net: Direct
2020/09/08 10:57:12 site: http://www.norbit.de/osgeo4w/
2020/09/08 10:57:22 Ending OSGeo4W install
2020/09/10 20:00:03 Starting OSGeo4W install, version 2.579
2020/09/10 20:00:03 using locales .936
2020/09/10 20:00:03 Current Directory: D:\Temp\o4w
2020/09/10 20:00:03 Root Directory: C:\OSGeo4W64
2020/09/10 20:00:03 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2020/09/10 20:00:07 source: network install
2020/09/10 20:00:07 root: C:\OSGeo4W64
2020/09/10 20:00:08 Selected local directory: D:\Temp\o4w
2020/09/10 20:00:08 Menu name: OSGeo4W
2020/09/10 20:00:08 net: Direct
2020/09/10 20:00:10 site: http://www.norbit.de/osgeo4w/
2020/09/10 20:00:33 Ending OSGeo4W install
2020/09/08 10:57:06 Starting OSGeo4W install, version 2.579
2020/09/08 10:57:06 using locales .936
2020/09/08 10:57:06 Current Directory: D:\Temp\o4w
2020/09/08 10:57:06 Root Directory: C:\OSGeo4W64
2020/09/08 10:57:06 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2020/09/08 10:57:09 source: network install
2020/09/08 10:57:09 root: C:\OSGeo4W64
2020/09/08 10:57:10 Selected local directory: D:\Temp\o4w
2020/09/08 10:57:10 Menu name: OSGeo4W
2020/09/08 10:57:10 net: Direct
2020/09/10 20:00:03 Starting OSGeo4W install, version 2.579
2020/09/10 20:00:03 using locales .936
2020/09/10 20:00:03 Current Directory: D:\Temp\o4w
2020/09/10 20:00:03 Root Directory: C:\OSGeo4W64
2020/09/10 20:00:03 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2020/09/10 20:00:07 source: network install
2020/09/10 20:00:07 root: C:\OSGeo4W64
2020/09/10 20:00:08 Selected local directory: D:\Temp\o4w
2020/09/10 20:00:08 Menu name: OSGeo4W
2020/09/10 20:00:08 net: Direct
Loaded cached mirror list
get_url_to_membuf http://download.osgeo.org/osgeo4w/mirrors.lst
getUrlToStream http://download.osgeo.org/osgeo4w/mirrors.lst
2020/09/08 10:57:12 site: http://www.norbit.de/osgeo4w/
2020/09/10 20:00:10 site: http://www.norbit.de/osgeo4w/
get_url_to_membuf http://www.norbit.de/osgeo4w/x86_64/setup.ini.bz2
getUrlToStream http://www.norbit.de/osgeo4w/x86_64/setup.ini.bz2
The package <gdal-dev-ecw-3.2.0-101> has a non-free license it was successfully added
The package <gdal-dev-ecw-3.2.0-100> has a non-free license it was successfully added
The package <gdal-dev-filegdb-3.2.0-101> has a non-free license it was successfully added
The package <gdal-dev-filegdb-3.2.0-100> has a non-free license it was successfully added
The package <gdal-dev-mrsid-3.2.0-101> has a non-free license it was successfully added
The package <gdal-dev-mrsid-3.2.0-100> has a non-free license it was successfully added
The package <gdal-dev-ecw-3.2.0-103> has a non-free license it was successfully added
The package <gdal-dev-ecw-3.2.0-102> has a non-free license it was successfully added
The package <gdal-dev-filegdb-3.2.0-103> has a non-free license it was successfully added
The package <gdal-dev-filegdb-3.2.0-102> has a non-free license it was successfully added
The package <gdal-dev-mrsid-3.2.0-103> has a non-free license it was successfully added
The package <gdal-dev-mrsid-3.2.0-102> has a non-free license it was successfully added
The package <gdal-ecw-3.0.4-2> has a non-free license it was successfully added
The package <gdal-ecw-3.0.4-1> has a non-free license it was successfully added
The package <gdal-filegdb-3.0.4-2> has a non-free license it was successfully added
......@@ -41,4 +41,4 @@ getUrlToStream http://www.norbit.de/osgeo4w/x86_64/setup.ini.bz2
The package <sqlncli-2012-1> has a non-free license it was successfully added
The package <szip-2.1.1-1> has a non-free license it was successfully added
The package <szip-2.1-1> has a non-free license it was successfully added
2020/09/08 10:57:22 Ending OSGeo4W install
2020/09/10 20:00:33 Ending OSGeo4W install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment