diff --git a/csv2shex/__init__.py b/csv2shex/__init__.py index d5feedb..6348b5c 100644 --- a/csv2shex/__init__.py +++ b/csv2shex/__init__.py @@ -1,3 +1,4 @@ """Generate ShEx schemas from DC Application Profiles.""" - +from .csvshape import CSVShape, CSVTripleConstraint, CSVSchema +from .csvreader import csvreader __version__ = "0.3.0" diff --git a/pyproject.toml b/pyproject.toml index c19f18c..b458dc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["flit"] +requires = ["setuptools!=50.0","flit"] build-backend = "flit.buildapi" [tool.flit.metadata] diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..c2d81a4 --- /dev/null +++ b/setup.py @@ -0,0 +1,5 @@ +from setuptools import setup + +setup(name="csv2shex", + py_modules=["csv2shex"] + )