Boilerplate (still needs working)
This commit is contained in:
parent
d106a19bdc
commit
0cbc314068
25 changed files with 1111 additions and 0 deletions
55
setup.py
Normal file
55
setup.py
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
import djangocms_blog
|
||||
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
version = djangocms_blog.__version__
|
||||
|
||||
if sys.argv[-1] == 'publish':
|
||||
os.system('python setup.py sdist upload')
|
||||
print("You probably want to also tag the version now:")
|
||||
print(" git tag -a %s -m 'version %s'" % (version, version))
|
||||
print(" git push --tags")
|
||||
sys.exit()
|
||||
|
||||
readme = open('README.rst').read()
|
||||
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
|
||||
|
||||
setup(
|
||||
name='djangocms-blog',
|
||||
version=version,
|
||||
description='A djangoCMS 3 blog application',
|
||||
long_description=readme + '\n\n' + history,
|
||||
author='Iacopo Spalletti',
|
||||
author_email='i.spalletti@nephila.it',
|
||||
url='https://github.com/yakky/djangocms-blog',
|
||||
packages=[
|
||||
'djangocms_blog',
|
||||
],
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
],
|
||||
license="BSD",
|
||||
zip_safe=False,
|
||||
keywords='djangocms-blog',
|
||||
classifiers=[
|
||||
'Development Status :: 2 - Pre-Alpha',
|
||||
'Framework :: Django',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Natural Language :: English',
|
||||
"Programming Language :: Python :: 2",
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
],
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue