diff --git a/setup.py b/setup.py index de7b698..414afcd 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,6 @@ setuptools.setup( name="sim-tools", - #there must be an way to auto tick up the version number... version=__version__, author="Thomas Monks", author_email="t.m.w.monks@exeter.ac.uk", @@ -20,7 +19,7 @@ description="Simulation Tools for Education and Practice", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/TomMonks/ovs-tutorial", + url="https://github.com/TomMonks/sim-tools", packages=setuptools.find_packages(), #if true look in MANIFEST.in for data files to include include_package_data=False, @@ -28,12 +27,11 @@ #package_data={"test_package": ["data/*.csv"]}, #these are for documentation classifiers=[ - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], - python_requires='>=3.6.9', + python_requires='>=3.10', install_requires=requirements, ) diff --git a/sim_tools/ovs/fixed_budget.py b/sim_tools/ovs/fixed_budget.py index d7f7a72..682c4dc 100644 --- a/sim_tools/ovs/fixed_budget.py +++ b/sim_tools/ovs/fixed_budget.py @@ -360,7 +360,7 @@ def _allocate(self): #got all of the ratios now... more_runs = np.full(self._k, True, dtype=bool) - additional_runs = np.zeros(self._k, dtype=np.float) + additional_runs = np.zeros(self._k, dtype='float') more_alloc = True #do i need to use the more alloc or can i just use mask? diff --git a/sim_tools/ovs/toy_models.py b/sim_tools/ovs/toy_models.py index 04a0502..e165eda 100644 --- a/sim_tools/ovs/toy_models.py +++ b/sim_tools/ovs/toy_models.py @@ -28,10 +28,10 @@ def __init__(self, model, n_designs, verbose=False): model.register_observer(self) self.verbose = verbose self._n_designs = n_designs - self.means = np.zeros(n_designs, dtype=np.float) - self.vars = np.zeros(n_designs, dtype=np.float) - self._sq = np.zeros(n_designs, dtype=np.float) - self._ses = np.zeros(n_designs, dtype=np.float) + self.means = np.zeros(n_designs, dtype='float') + self.vars = np.zeros(n_designs, dtype='float') + self._sq = np.zeros(n_designs, dtype='float') + self._ses = np.zeros(n_designs, dtype='float') self.allocations = np.zeros(n_designs, np.int32) def __str__(self):