grim/pyparser

Parents c3c7e932e2ea
Children fc6ac9b120c4
install the package in our pipelines and fixes some issues that exposed
--- a/bitbucket-pipelines.yml Fri Aug 12 11:13:36 2016 -0500
+++ b/bitbucket-pipelines.yml Fri Aug 12 11:18:59 2016 -0500
@@ -10,4 +10,5 @@
- pip install -r dev-requirements.txt
- flake8
- PYTHONPATH=$(pwd)/src py.test --color=auto --cov=pyparser --cov-report=term-missing tests
+ - pip install .
--- a/local-pipelines.yml Fri Aug 12 11:13:36 2016 -0500
+++ b/local-pipelines.yml Fri Aug 12 11:18:59 2016 -0500
@@ -10,6 +10,7 @@
- pip install -r dev-requirements.txt
- flake8
- PYTHONPATH=$(pwd)/src py.test --color=auto --cov=pyparser --cov-report=term-missing tests
+ - pip install .
- step:
image: python:2
script:
@@ -19,6 +20,7 @@
- pip install -r dev-requirements.txt
- flake8
- PYTHONPATH=$(pwd)/src py.test --color=auto --cov=pyparser --cov-report=term-missing tests
+ - pip install .
- step:
image: python:3.6
script:
@@ -28,4 +30,5 @@
- pip install -r dev-requirements.txt
- flake8
- PYTHONPATH=$(pwd)/src py.test --color=auto --cov=pyparser --cov-report=term-missing tests
+ - pip install .
--- a/setup.py Fri Aug 12 11:13:36 2016 -0500
+++ b/setup.py Fri Aug 12 11:18:59 2016 -0500
@@ -4,8 +4,6 @@
from setuptools import setup, find_packages
-from pyparser import __version__
-
_DESC = """
pyparser is a collection of classes to make it easier to parse text data in a
@@ -18,6 +16,9 @@
sys.path.append(_PATH)
+from pyparser import __version__ # noqa
+
+
def main():
""" Creates our package """
@@ -45,7 +46,7 @@
author_email='grim@reaperworld.com',
url='http://bitbucket.org/rw_grim/pyparser',
classifiers=[
- 'Development Status :: 3 - Alpha',
+ 'Development Status :: 5 - Production/Stable'
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
@@ -53,6 +54,8 @@
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
],
)
--- a/src/pyparser/__init__.py Fri Aug 12 11:13:36 2016 -0500
+++ b/src/pyparser/__init__.py Fri Aug 12 11:18:59 2016 -0500
@@ -7,7 +7,7 @@
import abc
-__version__ = '0.2'
+__version__ = '1.0'
class Parser(object):