diff --git a/.gitignore b/.gitignore index d7571d4..393851f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,6 @@ .idea/ *.DS_Store *.pytest_cache/ -core/etc/data -core/etc/results -core/etc/secrets # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/README.md b/README.md index 8a4e071..65b94d3 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# py-object-factory \ No newline at end of file +# py-object-factory + +A python package for the serializable model / factory pattern \ No newline at end of file diff --git a/object_factory/__init__.py b/objectfactory/__init__.py similarity index 73% rename from object_factory/__init__.py rename to objectfactory/__init__.py index 66f57c7..dbb05da 100644 --- a/object_factory/__init__.py +++ b/objectfactory/__init__.py @@ -1,5 +1,5 @@ """ -object_factory +objectfactory """ from .serializable import ( @@ -9,3 +9,5 @@ Nested, List ) + +__version__ = '0.0.1' diff --git a/object_factory/serializable.py b/objectfactory/serializable.py similarity index 100% rename from object_factory/serializable.py rename to objectfactory/serializable.py diff --git a/setup.py b/setup.py index 72e7f82..0c1b40a 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ long_description = fh.read() setuptools.setup( - name='object_factory', - version='0.0.0', + name='objectfactory', + version='0.0.1', author='Devin A. Conley', author_email='devinaconley@gmail.com', description='A python package for the serializable model / factory pattern', diff --git a/test/test_serializable.py b/test/test_serializable.py index 2f4d9e5..25ed09e 100644 --- a/test/test_serializable.py +++ b/test/test_serializable.py @@ -3,7 +3,7 @@ """ # src -from object_factory.serializable import Factory, Serializable, Field, Nested, List +from objectfactory.serializable import Factory, Serializable, Field, Nested, List @Factory.register_class