Skip to content

Commit

Permalink
updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Prado de Jesus committed Nov 9, 2020
1 parent 9e6537e commit 60bc305
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ python:
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev" # 3.7 development branch
- "3.7" # 3.7 development branch
- "3.8" # 3.7 development branch
- "nightly" # currently points to 3.7-dev

sudo: required
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ You can use it in two ways: inside your own python code or as a stand-alone comm
Do a git clone from the repository and inside your brand new python-cobol folder run:

```shell
$ python cobol.py example.cbl
$ python python_cobol.py example.cbl
```

This will process the redefines, denormalize the file, strip the prefixes and ensure all names are unique.
Expand Down Expand Up @@ -102,7 +102,7 @@ The utility allows for some command-line switches to disable some processing ste
The parser can also be called from your Python code. All you need is a list of lines in COBOL Copybook format. See example.py how one would do it:

```python
import cobol
from python_cobol import python_cobol as cobol

with open("example.cbl",'r') as f:
for row in cobol.process_cobol(f.readlines()):
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
from setuptools import setup

setup(
name='python-cobol',
version='0.1.2',
name='python_cobol',
version='0.1.4',
url='https://github.com/royopa/python-cobol',
license='GPLv3',
author='Paulus Schoutsen',
author_email='paulus@paulusschoutsen.nl',
keywords='cobol mainframe copybook',
description=u'Python code to parse and denormalize COBOL Copybooks',
packages=['python-cobol'],
packages=['python_cobol'],
install_requires=[],
)
2 changes: 1 addition & 1 deletion test/example_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
sys.path.insert(0, './../python-cobol')

import cobol
from python_cobol import python_cobol as cobol
import unittest


Expand Down

0 comments on commit 60bc305

Please sign in to comment.