one command to do templating: type moban and enter
This commit is contained in:
parent
8bca5a5250
commit
2da13deb1b
|
@ -10,11 +10,4 @@ Known Issues
|
|||
|
||||
* If a zero was typed in a DATE formatted field in xls, you will get "01/01/1900".
|
||||
* If a zero was typed in a TIME formatted field in xls, you will get "00:00:00".
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
||||
1. xlrd
|
||||
2. xlwt-future
|
||||
3. pyexcel-io >= 0.0.4
|
||||
{%endblock%}
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
configuration:
|
||||
- configuration_dir: "commons/config"
|
||||
- template_dir:
|
||||
- "commons/templates"
|
||||
- ".moban.d"
|
||||
- configuration: pyexcel_xls.yaml
|
||||
targets:
|
||||
- README.rst: README.rst
|
||||
- setup.py: setup.py
|
||||
- "docs/source/conf.py": "docs/source/conf.py.jj2"
|
||||
- .travis.yml: travis.yml
|
||||
- requirements.txt: requirements.txt
|
||||
- LICENSE: LICENSE.jj2
|
||||
- MANIFEST.in: MANIFEST.in.jj2
|
||||
- "tests/requirements.txt": "tests/requirements.txt"
|
|
@ -210,19 +210,13 @@ License
|
|||
================================================================================
|
||||
|
||||
New BSD License
|
||||
|
||||
Known Issues
|
||||
=============
|
||||
|
||||
* If a zero was typed in a DATE formatted field in xls, you will get "01/01/1900".
|
||||
* If a zero was typed in a TIME formatted field in xls, you will get "00:00:00".
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
||||
1. xlrd
|
||||
2. xlwt-future
|
||||
3. pyexcel-io >= 0.0.4
|
||||
|
||||
.. testcode::
|
||||
:hide:
|
||||
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
from os import path, system
|
||||
|
||||
config_dir = 'commons/config'
|
||||
template_dir = 'commons/templates'
|
||||
|
||||
if not path.exists("commons"):
|
||||
system("git clone https://github.com/pyexcel/pyexcel-commons.git commons")
|
||||
system("moban -cd {0} -td {1} -t docs/source/conf.py.jj2 -o docs/source/conf.py -c moban.yaml".format(config_dir, template_dir))
|
||||
system("moban -cd {0} -td {1} .moban.d -t README.rst -o README.rst -c moban.yaml".format(config_dir, template_dir))
|
||||
system("moban -cd {0} -td {1} .moban.d -t setup.py -o setup.py -c moban.yaml".format(config_dir, template_dir))
|
||||
system("moban -cd {0} -td {1} .moban.d -t travis.yml -o .travis.yml -c moban.yaml".format(config_dir, template_dir))
|
||||
system("moban -cd {0} -td .moban.d -t requirements.txt -o requirements.txt -c moban.yaml".format(config_dir))
|
||||
system("moban -cd {0} -td {1} -t LICENSE.jj2 -o LICENSE -c moban.yaml".format(config_dir, template_dir))
|
||||
system("moban -cd {0} -td {1} .moban.d -t tests/requirements.txt -o tests/requirements.txt -c moban.yaml".format(config_dir, template_dir))
|
||||
system("moban -cd {0} -td {1} .moban.d -t MANIFEST.in.jj2 -o MANIFEST.in -c moban.yaml".format(config_dir, template_dir))
|
Loading…
Reference in New Issue