diff --git a/estimators/__init__.py b/estimators/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/basic-usage.py b/estimators/basic-usage.py similarity index 100% rename from basic-usage.py rename to estimators/basic-usage.py diff --git a/cressieread.py b/estimators/cressieread.py similarity index 100% rename from cressieread.py rename to estimators/cressieread.py diff --git a/ds_parse.py b/estimators/ds_parse.py similarity index 100% rename from ds_parse.py rename to estimators/ds_parse.py diff --git a/ips_snips.py b/estimators/ips_snips.py similarity index 100% rename from ips_snips.py rename to estimators/ips_snips.py diff --git a/mle.py b/estimators/mle.py similarity index 100% rename from mle.py rename to estimators/mle.py diff --git a/pseudo_inverse.py b/estimators/pseudo_inverse.py similarity index 100% rename from pseudo_inverse.py rename to estimators/pseudo_inverse.py diff --git a/estimators/test/__pycache__/test_pi.cpython-36-pytest-6.2.2.pyc b/estimators/test/__pycache__/test_pi.cpython-36-pytest-6.2.2.pyc new file mode 100644 index 0000000..55c0564 Binary files /dev/null and b/estimators/test/__pycache__/test_pi.cpython-36-pytest-6.2.2.pyc differ diff --git a/test/test_pi.py b/estimators/test/test_pi.py similarity index 100% rename from test/test_pi.py rename to estimators/test/test_pi.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d4e05d9 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +import setuptools + +MAJOR = 1 +MINOR = 0 +MICRO = 0 +VERSION = f"{MAJOR}.{MINOR}.{MICRO}" + +with open("README.md", "r") as f: + long_description = f.read() + +setuptools.setup( + name="vw-estimators", + version=VERSION, + description="Python package of estimators to perform off-policy evaluation ", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/VowpalWabbit/estimators.git", + license="BSD 3-Clause License", + classifiers=[ + "Intended Audience :: Science/Research", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python :: 3.6", + "Operating System :: OS Independent", + "Topic :: Scientific/Engineering" + ], + packages=["estimators"], + install_requires= ['scipy>=0.9'], + tests_require=['pytest'], + python_requires=">=3.6", +) \ No newline at end of file