mirror of
https://github.com/QingdaoU/Spirit.git
synced 2025-01-16 01:13:37 +00:00
58 lines
1.7 KiB
Python
58 lines
1.7 KiB
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
import os
|
|
import io
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
BASE_DIR = os.path.join(os.path.dirname(__file__))
|
|
|
|
with io.open(os.path.join(BASE_DIR, 'README.md'), encoding='utf-8') as f:
|
|
README = f.read()
|
|
|
|
VERSION = __import__('spirit').__version__
|
|
|
|
with io.open(os.path.join(BASE_DIR, 'requirements.txt'), encoding='utf-8') as fh:
|
|
REQUIREMENTS = fh.read()
|
|
|
|
# allow setup.py to be run from any path
|
|
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
|
|
|
|
setup(
|
|
name='django-spirit',
|
|
version=VERSION,
|
|
description='Spirit is a Python based forum powered by Django.',
|
|
author='Esteban Castro Borsani',
|
|
author_email='ecastroborsani@gmail.com',
|
|
long_description=README,
|
|
url='http://spirit-project.com/',
|
|
packages=find_packages(),
|
|
test_suite="runtests.start",
|
|
entry_points="""
|
|
[console_scripts]
|
|
spirit=spirit.extra.bin.spirit:main
|
|
""",
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
install_requires=REQUIREMENTS,
|
|
extras_require={
|
|
'files': ['python-magic==0.4.15']},
|
|
license='MIT License',
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Environment :: Web Environment',
|
|
'Framework :: Django',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 2',
|
|
'Programming Language :: Python :: 3',
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
|
],
|
|
)
|