forked from drager/django-simple-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (38 loc) · 1.34 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import os
from setuptools import setup
version = __import__('simpleblog').get_version()
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return ''
setup(
name = 'django-simple-blog',
version = version,
packages = ['simpleblog'],
include_package_data = True,
install_requires = [line for line in read('requirements.txt').split('\n')
if line and not line.startswith('#')],
license = 'BSD License',
description = 'An easy way to start writing blog posts.',
long_description = readme,
url = 'https://github.com/Drager/django-simple-blog',
author = 'Drager',
author_email = '[email protected]',
classifiers = [
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)