diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2038f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +__pycache__/ +*.py[cod] +*.swp +.\#* +*\# +.coverage + +# Virtualenv +venv +.tox + +# IDE specific +.idea +.vscode + +# Sample documents +*.txt \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..de329d3 --- /dev/null +++ b/LICENSE @@ -0,0 +1,32 @@ +Copyright (c) 2019 or later by the individual contributors. +Please see the AUTHORS file. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/algods/__init__.py b/algods/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/algods/__main__.py b/algods/__main__.py new file mode 100644 index 0000000..d16c47e --- /dev/null +++ b/algods/__main__.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 +from algods import algods + + +if __name__ == '__main__': + algods.main() diff --git a/algods/algods.py b/algods/algods.py new file mode 100644 index 0000000..46b4ca5 --- /dev/null +++ b/algods/algods.py @@ -0,0 +1,2 @@ +def main(): + print("Hello world!") diff --git a/main.py b/main.py new file mode 100755 index 0000000..d16c47e --- /dev/null +++ b/main.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 +from algods import algods + + +if __name__ == '__main__': + algods.main() diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..d91ff28 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,31 @@ +[metadata] +name = algods +long_description = file: README.md +long_description_content_type = text/markdown +description = Django application to manage a network. +maintainer = Yohann D'Anello +maintainer_email = yohann.d_anello@ens-paris-saclay.fr +url = https://gitlab.crans.org/ynerant/algo-ds +keywords = algorithm, data science +license = GPLv3 +license_file = LICENSE +classifiers = + License :: OSI Approved :: GNU General Public License v3 (GPLv3) + Operating System :: OS Independent + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + +[options] +packages = find: +include_package_data = True +python_requires = >=3.6 + +[options.entry_points] +console_scripts = + constellation = algods.algods:main + +[bdist_wheel] +; pure python +universal = 1 diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..36f7fe7 --- /dev/null +++ b/setup.py @@ -0,0 +1,4 @@ +#!/usr/bin/env python3 +from setuptools import setup + +setup()