Sample project

This commit is contained in:
Yohann D'ANELLO 2021-10-08 14:53:40 +02:00
parent 7e506bfb72
commit ad5f1fa58b
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
8 changed files with 98 additions and 0 deletions

17
.gitignore vendored Normal file
View File

@ -0,0 +1,17 @@
__pycache__/
*.py[cod]
*.swp
.\#*
*\#
.coverage
# Virtualenv
venv
.tox
# IDE specific
.idea
.vscode
# Sample documents
*.txt

32
LICENSE Normal file
View File

@ -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.

0
algods/__init__.py Normal file
View File

6
algods/__main__.py Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env python3
from algods import algods
if __name__ == '__main__':
algods.main()

2
algods/algods.py Normal file
View File

@ -0,0 +1,2 @@
def main():
print("Hello world!")

6
main.py Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env python3
from algods import algods
if __name__ == '__main__':
algods.main()

31
setup.cfg Normal file
View File

@ -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

4
setup.py Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env python3
from setuptools import setup
setup()