9

I am installing an application and have installed python and easy_install. I now have two steps to complete:

5. Make a config file as follows::

    paster make-config openbiblio development.ini

6. Tweak the config file as appropriate and then setup the application::

    paster setup-app config.ini

I have read Stackoverflow answers and tried the web but cannot find installation instructions.

peter.murray.rust
  • 37,407
  • 44
  • 153
  • 217

2 Answers2

8

I think you're looking for pythonpaste's "Paste Script", which you can download from pypi.python.org and then unpack and install.

Franklin Piat
  • 3,952
  • 3
  • 32
  • 45
Alex Martelli
  • 854,459
  • 170
  • 1,222
  • 1,395
  • I'm still confused - the site you mention has `paste create --template=basic_package MyPackage` rather than `paster`. I'll try it out – peter.murray.rust Jun 27 '10 at 20:35
  • @peter, now I'm also confused (by what you say;-)...: at http://pythonpaste.org/script/ I see `paster serve --help` etc -- where do you see it spelled without the trailing `r` in that page? – Alex Martelli Jun 27 '10 at 20:40
  • 1
    First thanx! On `http://pypi.python.org/pypi/PasteScript` it says what I have written. I have now unpacked it, tried to install it (I am a newbie) with `easy_install PasteScript-1.7.3` and it says it is installed. There is now a paster.exe in the Python Scripts which I will try out – peter.murray.rust Jun 27 '10 at 20:53
  • You're right, looks like a typo in the `pypi` page -- unfortunately I don't know how to warn the page maintainer of that! – Alex Martelli Jun 28 '10 at 01:21
4
sudo apt-get install python-pastescript
Steve Bennett
  • 114,604
  • 39
  • 168
  • 219