From b8d5e3f69cf84d547b0c37c31b3b564c405cdcba Mon Sep 17 00:00:00 2001 From: Jonas Schouterden Date: Fri, 18 Oct 2019 14:07:35 +0200 Subject: [PATCH] changed setup file --- setup.py | 15 ++++++++++----- src/__init__.py | 0 usm/__init__.py | 1 + {src => usm}/abstract_optimizer.py | 0 .../deterministic_double_greedy_search.py | 0 {src => usm}/deterministic_local_search.py | 0 {src => usm}/deterministic_local_search_pyids.py | 0 {src => usm}/random_set.py | 0 .../randomized_double_greedy_search.py | 0 {src => usm}/smooth_local_search.py | 0 {src => usm}/smooth_local_search_pyids.py | 0 11 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 src/__init__.py create mode 100644 usm/__init__.py rename {src => usm}/abstract_optimizer.py (100%) rename src/deterministic_double_greedy.py => usm/deterministic_double_greedy_search.py (100%) rename {src => usm}/deterministic_local_search.py (100%) rename {src => usm}/deterministic_local_search_pyids.py (100%) rename {src => usm}/random_set.py (100%) rename src/randomized_double_greedy.py => usm/randomized_double_greedy_search.py (100%) rename {src => usm}/smooth_local_search.py (100%) rename {src => usm}/smooth_local_search_pyids.py (100%) 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