diff --git a/.gitignore b/.gitignore index 5f9bb7d6d4966cde2b06f26d5f668b449a925dcb..af110197bcd3394c9ec1965cd540b46e16c0d8ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,8 @@ -.idea/ .DS_Store *.sqlite3 __pycache__ # dependencies -*/node_modules -/.pnp -.pnp.js # testing /coverage @@ -22,12 +18,14 @@ __pycache__ .env.production.local .env -npm-debug.log* yarn-debug.log* yarn-error.log* *.eslintcache */media/account/images/ -solar/django_static +the_social_network/django_static pypi/*/ + +the_social_network/dist +the_social_network/the_social_network.egg-info \ No newline at end of file diff --git a/the_social_network/LICENSE b/the_social_network/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..244da3cd363fc1f62ff56c37957a694d606f8c9d --- /dev/null +++ b/the_social_network/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2021, Marc Feger +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. 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. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the <organization>. +4. Neither the name of the <organization> nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ''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 HOLDER 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. \ No newline at end of file diff --git a/the_social_network/MANIFEST.in b/the_social_network/MANIFEST.in new file mode 100644 index 0000000000000000000000000000000000000000..5b2510b6010be4f476ed78cd097bcce3a73f8b1c --- /dev/null +++ b/the_social_network/MANIFEST.in @@ -0,0 +1,7 @@ +include LICENSE +include README.rst +include core/* +exclude the_social_network/* +exclude setup.cfg +exclude MANIFEST.in +exclude manage.py \ No newline at end of file diff --git a/the_social_network/README.rst b/the_social_network/README.rst new file mode 100644 index 0000000000000000000000000000000000000000..21c7ed77d453ab0d66379fe1eb5caf47ea9fdede --- /dev/null +++ b/the_social_network/README.rst @@ -0,0 +1,9 @@ +============ +The Social Network +============ + +The package "The Social Network" is a django base backend core element for any possible social network you can think of. + +It contains the following models + +Django.Authentication.User diff --git a/the_social_network/setup.cfg b/the_social_network/setup.cfg new file mode 100644 index 0000000000000000000000000000000000000000..578367de7957cc06cbb540eee07d20479c8de21e --- /dev/null +++ b/the_social_network/setup.cfg @@ -0,0 +1,24 @@ +[metadata] +name = the-social-network +version = 0.1 +description = Basic core of all social network backends +long_description = file: README.rst +url = https://www.example.com/ +author = Marc Feger +author_email = marc.feger@uni-duesseldorf.de +license = BSD-4-Clause +classifiers = + Environment :: Web Environment + Framework :: Django + Framework :: Django :: 3.1.2 # Replace "X.Y" as appropriate + Intended Audience :: Developers + License :: OSI Approved :: BSD License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 3.9 + Topic :: Internet :: WWW/HTTP + Topic :: Internet :: WWW/HTTP :: Dynamic Content + +[options] +include_package_data = true +packages = find: \ No newline at end of file diff --git a/the_social_network/setup.py b/the_social_network/setup.py new file mode 100644 index 0000000000000000000000000000000000000000..fc1f76c84d17b458f7090667d495592c9abda034 --- /dev/null +++ b/the_social_network/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup() \ No newline at end of file