diff --git a/.gitignore b/.gitignore index 49ef255..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -db.sqlite3 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..472ac23 --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +MIT License +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..937e9ca --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,5 @@ +include AUTHORS +include LICENSE +include README.md +# recursive-include utils/templates * + diff --git a/README.md b/README.md new file mode 100644 index 0000000..203297d --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# django-shared-utils + +Mix of Python and Django utility functions, classed etc. \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..bb38adb --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +Django<2 +python-dateutil diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..44c8a41 --- /dev/null +++ b/setup.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python + +from io import open +import os +from setuptools import setup, find_packages + + +def read(filename): + path = os.path.join(os.path.dirname(__file__), filename) + with open(path, encoding='utf-8') as handle: + return handle.read() + + +setup( + name='django-shared-multilingual', + version=__import__('version').__version__, + description=' Collection Django tools for multilingual websites.', + long_description=read('README.md'), + author='Erik Stein', + author_email='erik@classlibrary.net', + url='https://projects.c--y.net/erik/django-shared-multilingual/', + license='MIT License', + platforms=['OS Independent'], + packages=find_packages( + exclude=['tests', 'testapp', 'main'], + ), + include_package_data=True, + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Web Environment', + 'Framework :: Django', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + # 'Programming Language :: Python :: 2', + # 'Programming Language :: Python :: 2.7', + # 'Programming Language :: Python :: 3', + # 'Programming Language :: Python :: 3.3', + # 'Programming Language :: Python :: 3.4', + 'Topic :: Utilities', + ], + zip_safe=False, + tests_require=[ + 'Django', + # 'coverage', + # 'django-mptt', + # 'pytz', + ], + test_suite='main.runtests.runtests', +) diff --git a/version.py b/version.py new file mode 100644 index 0000000..0079fc1 --- /dev/null +++ b/version.py @@ -0,0 +1,5 @@ +from __future__ import unicode_literals + + +VERSION = (0, 1, 0) +__version__ = '.'.join(map(str, VERSION))