forked from tomduck/pandoc-eqnos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.developers
48 lines (26 loc) · 937 Bytes
/
README.developers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
This file provides developer notes.
Install Alternatives
--------------------
To install the most recent sources from github using pip:
# pip install git+https://github.com/tomduck/pandoc-eqnos.git
(to upgrade use the --upgrade flag).
Testing
-------
To test pandoc-eqnos using a specific version of python:
a) Copy pandoc_eqnos.py into the test directory;
b) Use a pipe chain on test.md as follows:
~~~
$ pandoc test.md -t json | \
python2.7 pandoc_eqnos.py | \
pandoc -f json -o test.pdf
A suite of regression tests are provided in test/. Read the README.md in that
directory for instructions.
Preparing a Release
-------------------
Tagging:
$ git tag -a <tag> -m <message>
$ git push origin <tag>
Uploading to pypi:
$ python setup.py register -r pypi
$ python setup.py sdist upload -r pypi
(from http://peterdowns.com/posts/first-time-with-pypi.html)