Skip to content

Commit 82ebb70

Browse files
author
omid
committed
fix the import problem, create package
1 parent 247bbff commit 82ebb70

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
'License :: OSI Approved :: MIT License',
1616
'Programming Language :: Python :: 3.8',
1717
],
18-
py_modules=['src.main:Json2Xml'],
18+
py_modules=['src.json2xml.main:Json2Xml'],
1919
)

src/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from src.main import Json2Xml
1+
from json2xml.main import Json2Xml

src/json2xml/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from src.json2xml.main import Json2Xml
File renamed without changes.

0 commit comments

Comments
 (0)