forked from unit/ciclostile
Refactor setup
This commit is contained in:
parent
8f558ce0b8
commit
bf9057ed04
26
README.md
26
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
|
||||
|
||||
Ciclostile requires Python 3.3+.
|
||||
|
||||
Just run:
|
||||
|
||||
pip install .
|
||||
|
||||
## Example
|
||||
|
||||
The `example` folder contains a ready to use basic project.
|
||||
|
||||
To build the example run:
|
||||
|
||||
To build the example:
|
||||
```
|
||||
cd example
|
||||
mkdir target
|
||||
../ciclostile.py
|
||||
```
|
||||
ciclostile
|
||||
|
||||
In the `target` folder should now appear `test.html`
|
||||
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