diff --git a/setup.py b/setup.py index a395dea..83398c1 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,19 @@ from setuptools import setup +with open("README.md", "r") as fh: + + long_description = fh.read() + setup( - name='SubmodularMaximization', - version='', + name='Unconstrained Submodular Maximization', + version='0.0.1', packages=[''], - package_dir={'': 'src'}, - url='', - license='', + package_dir={'': 'usm'}, + url='https://github.com/joschout/SubmodularMaximization', + license='Apache 2.0', author='Jonas Schouterden', author_email='', description='Unconstrained submodular maximization optimization algorithms', + long_description=long_description, install_requires=['numpy'] ) diff --git a/src/__init__.py b/src/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/usm/__init__.py b/usm/__init__.py new file mode 100644 index 0000000..42c66da --- /dev/null +++ b/usm/__init__.py @@ -0,0 +1 @@ +name = "usm" diff --git a/src/abstract_optimizer.py b/usm/abstract_optimizer.py similarity index 100% rename from src/abstract_optimizer.py rename to usm/abstract_optimizer.py diff --git a/src/deterministic_double_greedy.py b/usm/deterministic_double_greedy_search.py similarity index 100% rename from src/deterministic_double_greedy.py rename to usm/deterministic_double_greedy_search.py diff --git a/src/deterministic_local_search.py b/usm/deterministic_local_search.py similarity index 100% rename from src/deterministic_local_search.py rename to usm/deterministic_local_search.py diff --git a/src/deterministic_local_search_pyids.py b/usm/deterministic_local_search_pyids.py similarity index 100% rename from src/deterministic_local_search_pyids.py rename to usm/deterministic_local_search_pyids.py diff --git a/src/random_set.py b/usm/random_set.py similarity index 100% rename from src/random_set.py rename to usm/random_set.py diff --git a/src/randomized_double_greedy.py b/usm/randomized_double_greedy_search.py similarity index 100% rename from src/randomized_double_greedy.py rename to usm/randomized_double_greedy_search.py diff --git a/src/smooth_local_search.py b/usm/smooth_local_search.py similarity index 100% rename from src/smooth_local_search.py rename to usm/smooth_local_search.py diff --git a/src/smooth_local_search_pyids.py b/usm/smooth_local_search_pyids.py similarity index 100% rename from src/smooth_local_search_pyids.py rename to usm/smooth_local_search_pyids.py