Refactor setup
This commit is contained in:
parent
8f558ce0b8
commit
bf9057ed04
30
README.md
30
README.md
|
@ -1,17 +1,23 @@
|
||||||
# Ciclostile
|
# Ciclostile
|
||||||
|
|
||||||
To install dependencies:
|
Static web site generator.
|
||||||
```
|
|
||||||
pip install -r requirements.txt
|
|
||||||
```
|
|
||||||
|
|
||||||
Look at the `example` folder to see how to setup a project.
|
## Install
|
||||||
|
|
||||||
To build the example:
|
Ciclostile requires Python 3.3+.
|
||||||
```
|
|
||||||
cd example
|
|
||||||
mkdir target
|
|
||||||
../ciclostile.py
|
|
||||||
```
|
|
||||||
|
|
||||||
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.
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
markdown
|
|
||||||
jinja2
|
|
15
setup.py
Normal file
15
setup.py
Normal 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'])
|
Loading…
Reference in New Issue
Block a user