diff --git a/README.md b/README.md index ce118fc..fee8867 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,23 @@ # Ciclostile -To install dependencies: -``` -pip install -r requirements.txt -``` +Static web site generator. -Look at the `example` folder to see how to setup a project. +## Install -To build the example: -``` -cd example -mkdir target -../ciclostile.py -``` +Ciclostile requires Python 3.3+. -In the `target` folder should now appear `test.html` +Just run: + + pip install . + +## Example + +The `example` folder contains a ready to use basic project. + +To build the example run: + + cd example + mkdir target + ciclostile + +A `test.html` file will appear inside the `target` folder. diff --git a/ciclostile.py b/bin/ciclostile similarity index 100% rename from ciclostile.py rename to bin/ciclostile diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index f27036f..0000000 --- a/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -markdown -jinja2 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..afbfdf5 --- /dev/null +++ b/setup.py @@ -0,0 +1,15 @@ +from distutils.core import setup +from os import path + +here = path.abspath(path.dirname(__file__)) + +setup( + name='Ciclostile', + version='0.0.0.dev0', + description='Static site generator', + long_description=open(path.join(here, 'README.md')).read(), + author='Unit', + author_email='unit at paranoici dot org', + url='https://git.unit.macaomilano.org/unit/ciclostile', + scripts=['bin/ciclostile'], + install_requires=['markdown', 'jinja2'])