Skip to content

Commit 4926769

Browse files
author
mtjvc
committed
Minor fixes
1 parent e33aae5 commit 4926769

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ to install the generated parser in your virtual environment.
6161

6262

6363
Parsing MySQL and PostgreSQL
64-
-------------
64+
----------------------------
6565

6666
Parsing and processing of MySQL queries can be done by creating an instance
6767
of the ``MySQLQueryProcessor`` class

docs/development.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ walker = antlr4.ParseTreeWalker()
117117
walker.walk(listener, context)
118118
```
119119

120-
Listener is a class with methods that react each time the walker stumbles upon a rule
120+
Listener is a class with methods that react each time the walker stumbles upon a rule
121121
defined in the parser part of the grammar. For example, if there is method
122122
called `enterAlias()` defined inside of a listener, it will be called once
123123
the walker reaches an `Alias` (as it is defined in the antlr parser file) in a
124-
query (context).
124+
query or another context.
125125

126126
### Indexed objects
127127

@@ -167,3 +167,9 @@ functions (spoint, scircle, sbox...).
167167

168168
## New releases
169169

170+
1. Change the version number in `src/queryparser/__init__.py`
171+
2. `python setup.py sdist bdist_wheel`
172+
3. `twine check dist/*`
173+
4. `twine upload --repository-url https://test.pypi.org/legacy/ dist/*`
174+
5. `twine upload dist/*`
175+
6. Create a new release on github.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
requirements += ['typing']
2121

2222
setup(
23-
name='queryparser-python%d' % python_version,
23+
name='queryparser-python3',
2424
version=metadata['version'],
2525
author=metadata['author'],
2626
author_email=metadata['email'],
@@ -31,6 +31,7 @@
3131
description=u'Parses PostgreSQL/MySQL and translates ADQL to ' +\
3232
'PostgreSQL/MySQL.',
3333
long_description=open('README.rst').read(),
34+
long_description_content_type='text/x-rst',
3435
install_requires=requirements,
3536
classifiers=[],
3637
packages=[

src/queryparser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__title__ = 'queryparser'
2-
__version__ = '0.4.6'
2+
__version__ = '0.5.0'
33
__author__ = 'Gal Matijevic'
44
__email__ = 'gmatijevic@aip.de'
55
__license__ = 'Apache-2.0'

0 commit comments

Comments
 (0)