Skip to content

Commit 702faa6

Browse files
committed
Update readme and setup file
1 parent 11168b8 commit 702faa6

File tree

4 files changed

+32
-27
lines changed

4 files changed

+32
-27
lines changed

README.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
===========================================================
2-
orgparse - Python module for reading Emacs org-mode file
2+
orgparse - Python module for reading Emacs org-mode files
33
===========================================================
44

55

6-
Links:
7-
8-
* `Documentation (at Read the Docs) <https://orgparse.readthedocs.org>`_
6+
* `Documentation (Read the Docs) <https://orgparse.readthedocs.org>`_
97
* `Repository (at GitHub) <https://github.com/karlicoss/orgparse>`_
10-
* `Issue tracker (at GitHub) <https://github.com/karlicoss/orgparse/issues>`_
118
* `PyPI <https://pypi.python.org/pypi/orgparse>`_
129
* `Travis CI <https://travis-ci.org/karlicoss/orgparse>`_ |build-status|
1310

@@ -18,16 +15,17 @@ Links:
1815
Install
1916
-------
2017

21-
You can install `orgparse` from PyPI_::
22-
2318
pip install orgparse
2419

2520

2621
Usage
2722
-----
2823

29-
Loading org object
30-
^^^^^^^^^^^^^^^^^^
24+
There are pretty extensive doctests if you're interested in some specific method. Otherwise here are some example snippets:
25+
26+
27+
Load org node
28+
^^^^^^^^^^^^^
3129
::
3230

3331
from orgparse import load, loads
@@ -70,8 +68,8 @@ Traverse org tree
7068
* Heading 1
7169

7270

73-
Accessing to node attributes
74-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71+
Accessing node attributes
72+
^^^^^^^^^^^^^^^^^^^^^^^^^
7573

7674
>>> root = loads('''
7775
... * DONE Heading :TAG:

doc/source/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@
1515
source_suffix = '.rst'
1616
master_doc = 'index'
1717

18+
# TODO not sure I'm doing that right..
19+
import orgparse
20+
1821
# General information about the project.
1922
project = u'orgparse'
2023
copyright = u'2012, Takafumi Arakaki'
2124

2225
# The short X.Y version.
23-
version = '0.0.1'
26+
version = orgparse.__version__
2427
# The full version, including alpha/beta/rc tags.
25-
release = '0.0.1.dev3'
28+
release = orgparse.__version__
2629

2730
exclude_patterns = []
2831

orgparse/__init__.py

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55
# ]]]
66
"""
77
===========================================================
8-
orgparse - Python module for reading Emacs org-mode file
8+
orgparse - Python module for reading Emacs org-mode files
99
===========================================================
1010
1111
12-
Links:
13-
14-
* `Documentation (at Read the Docs) <https://orgparse.readthedocs.org>`_
12+
* `Documentation (Read the Docs) <https://orgparse.readthedocs.org>`_
1513
* `Repository (at GitHub) <https://github.com/karlicoss/orgparse>`_
16-
* `Issue tracker (at GitHub) <https://github.com/karlicoss/orgparse/issues>`_
1714
* `PyPI <https://pypi.python.org/pypi/orgparse>`_
1815
* `Travis CI <https://travis-ci.org/karlicoss/orgparse>`_ |build-status|
1916
@@ -24,16 +21,17 @@
2421
Install
2522
-------
2623
27-
You can install `orgparse` from PyPI_::
28-
2924
pip install orgparse
3025
3126
3227
Usage
3328
-----
3429
35-
Loading org object
36-
^^^^^^^^^^^^^^^^^^
30+
There are pretty extensive doctests if you're interested in some specific method. Otherwise here are some example snippets:
31+
32+
33+
Load org node
34+
^^^^^^^^^^^^^
3735
::
3836
3937
from orgparse import load, loads
@@ -76,8 +74,8 @@
7674
* Heading 1
7775
7876
79-
Accessing to node attributes
80-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
77+
Accessing node attributes
78+
^^^^^^^^^^^^^^^^^^^^^^^^^
8179
8280
>>> root = loads('''
8381
... * DONE Heading :TAG:
@@ -118,7 +116,7 @@
118116
from .node import parse_lines
119117
from .utils.py3compat import basestring
120118

121-
__version__ = '0.1.1'
119+
__version__ = '0.1.2dev0'
122120
__author__ = 'Takafumi Arakaki'
123121
__license__ = 'BSD License'
124122
__all__ = ["load", "loads", "loadi"]

setup.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,19 @@
1515
package_data={
1616
'orgparse.tests.data': ['*.org'],
1717
},
18+
1819
author=orgparse.__author__,
1920
author_email='[email protected]',
20-
url='https://github.com/tkf/orgparse',
21+
maintainer='Dima Gerasimov (@karlicoss)',
22+
maintainer_email='[email protected]',
23+
24+
url='https://github.com/karlicoss/orgparse',
2125
license=orgparse.__license__,
26+
2227
description='orgparse - Emacs org-mode parser in Python',
2328
long_description=orgparse.__doc__,
24-
keywords='org-mode, Emacs, parser',
29+
30+
keywords='org org-mode emacs',
2531
classifiers=[
2632
'Development Status :: 5 - Production/Stable',
2733
'License :: OSI Approved :: BSD License',

0 commit comments

Comments
 (0)