install.txt

来自「网络蜘蛛」· 文本 代码 · 共 62 行

TXT
62 行
字号
Installation Instructions
=========================

1. Package Installation

You can run HarvestMan directly from this directory
or copy it to the Python installation directory and
run it after setting PYTHONPATH.

If you prefer to run it from here, you dont need to
do anything. If you prefer to run it from the Python
installation directory, you need to run the setup
script.

Run it as follows.

To create the build,

% python setup.py build

To copy to Python installation directory,

% python setup.py install

This installs all HarvestMan files including the
'tidy' package to your Python installation folder.

Now create the config.txt file in a directory of
your choice, and set to PATH to pick up the HarvestMan
main file. This can be done as follows.

Assuming you are using a bash shell on Unix/Linux,

export PATH=$PATH:/usr/lib/python2.3/lib/site-packages/HarvestMan

If you are on Windows,

set PATH=%PATH%;C:/Python23/lib/site-packages/HarvestMan

If you are on Linux/Unix, you can also create a soft-link
to harvestman.py in a favorite folder, and use it to run
HarvestMan.

Example:

$ [/home/dave/python]> ln -s /usr/lib/python2.3/lib/site-packages/HarvestMan/
harvestman.py .

python harvestman.py...

2. Executable installation (Only on Windows)

This can be done using py2exe. Run the script named
'setup.bat' after making sure you have installed py2exe
for your Python installation.

This will create a directory named 'dist' in the current
directory. Copy this directory to a directory of your
choice, rename it to 'HarvestMan'. Once you create an
appropriate config file in this directory, you are ready
to run the program.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?