Skip to content

Commit

Permalink
update scriptine URL to github
Browse files Browse the repository at this point in the history
  • Loading branch information
olt committed Apr 10, 2013
1 parent 883963f commit e1a5506
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The primary goal of ``scriptine`` is to make it easy to write shell scripts
with python.

Scriptine does two things to solve this goal:

* Make it easy to create scripts and commands.
* Make it easy to work with files, directories and other shell commands.

Expand Down Expand Up @@ -40,7 +40,7 @@ Example
Here is a small example script::

import scriptine

def example_command(name, countdown=False, repeat=10):
"""Show how scriptine works."""
if countdown:
Expand All @@ -53,7 +53,7 @@ Here is a small example script::

Usage of our small script::

% python test.py
% python test.py
Usage: test.py command [options]

Options:
Expand All @@ -65,7 +65,7 @@ Usage of our small script::
Hello, Pete!
% python test.py example Pete --countdown --repeat 5
5 4 3 2 1 Hello, Pete!


A more complex example::

Expand All @@ -76,7 +76,7 @@ A more complex example::
"""
Convert all files with extension in dirname to .png.
Only convert if result does not exists or is older.

:param dirname: where to search for images
:param outdir: where to store the results
:param extension: file extension to convert
Expand All @@ -93,7 +93,7 @@ A more complex example::
run()

The help text::

% python convert.py to-png --help
Usage: test.py to-png [options] dirname

Expand Down Expand Up @@ -128,5 +128,5 @@ The documentation can be found at http://packages.python.org/scriptine/
Development
~~~~~~~~~~~

scriptine is still in development. Some parts will be changed and some more functionality will be added. Follow the development at http://bitbucket.org/olt/scriptine/ Comments and bug fixes are welcomed.
Follow the development at https://github.com/olt/scriptine Comments and bug fixes are welcomed.

1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def run(self):
description = 'python shell scripts made easy',
long_description=open('README.rst').read() +'\n' + open('CHANGELOG.txt').read(),
license = 'MIT License',
url = 'https://github.com/olt/scriptine',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
Expand Down

0 comments on commit e1a5506

Please sign in to comment.