Skip to content

Commit 9104859

Browse files
author
Procopio
committed
updates readme to reflect add_line
1 parent 8bbf21a commit 9104859

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

E2Yaml/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
from E2Yaml.E2Yaml import *
1+
from E2Yaml.E2Yaml import EyConverter, load_file, from_clipboard
2+
from E2Yaml import *

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ yml = ey.from_clipboard(log=True)
5050
yml = ey.load_file('test_input.env', log=True)
5151
5252
# adding one line at a time
53-
yml = ey.add_line("SOME_TEXT=true")
53+
yml = EyConverter().add_line("SOME_TEXT=true")
5454
```
5555
Note: you can disable logging by not including the second parameter *log=True*
5656

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
# Inside of setup.cfg
21
[metadata]
32
description-file = README.md

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
from distutils.core import setup
1+
from setuptools import setup
22

33
with open("README.md", "r") as fh:
44
long_description = fh.read()
55

66
setup(
77
name='E2Yaml', # How you named your package folder (MyLib)
88
packages=['E2Yaml'], # Chose the same as "name"
9-
version='0.4', # Start with a small number and increase it with every change you make
9+
version='0.4.1', # Start with a small number and increase it with every change you make
1010
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
1111
description='An Environment Variable to Yaml Converter', # Give a short description about your library
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
1414
author='Joseph Procopio', # Type in your name
1515
author_email='josephp27@live.com', # Type in your E-Mail
1616
url='https://github.com/josephp27/E2Yaml', # Provide either the link to your github or to your website
17-
download_url='https://github.com/josephp27/E2Yaml/archive/0.4.tar.gz', # I explain this later on
17+
download_url='https://github.com/josephp27/E2Yaml/archive/0.4.1.tar.gz', # I explain this later on
1818
keywords=['Yaml', 'Converter', 'Environment', 'Variables'], # Keywords that define your package best
1919
classifiers=[
2020
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)