Browse Source

Package setup.

master
Erik Stein 8 years ago
parent
commit
58c4d9f641
  1. 1
      .gitignore
  2. 8
      LICENSE
  3. 5
      MANIFEST.in
  4. 3
      README.md
  5. 2
      requirements.txt
  6. 51
      setup.py
  7. 5
      version.py

1
.gitignore vendored

@ -1 +0,0 @@
db.sqlite3

8
LICENSE

@ -0,0 +1,8 @@
MIT License
Copyright (c) <year> <copyright holders>
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.

5
MANIFEST.in

@ -0,0 +1,5 @@
include AUTHORS
include LICENSE
include README.md
# recursive-include utils/templates *

3
README.md

@ -0,0 +1,3 @@
# django-shared-utils
Mix of Python and Django utility functions, classed etc.

2
requirements.txt

@ -0,0 +1,2 @@
Django<2
python-dateutil

51
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',
)

5
version.py

@ -0,0 +1,5 @@
from __future__ import unicode_literals
VERSION = (0, 1, 0)
__version__ = '.'.join(map(str, VERSION))
Loading…
Cancel
Save