Refactor setup

This commit is contained in:
crudo 2017-11-18 16:11:40 +01:00
parent 8f558ce0b8
commit bf9057ed04
4 changed files with 33 additions and 14 deletions

View File

@ -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.

View File

@ -1,2 +0,0 @@
markdown
jinja2

15
setup.py Normal file
View File

@ -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'])