forked from django-fiber/django-fiber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (42 loc) · 1.52 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
45
46
47
48
49
50
51
52
import os
import sys
from setuptools import setup, find_packages
version = __import__('fiber').__version__
if sys.version_info[0] > 2:
sys.exit('Python > 2 is unsupported.')
if sys.argv[-1] == 'publish': # upload to pypi
os.system("python setup.py register sdist bdist_egg bdist_wheel 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()
setup(
name='django-fiber',
version=version,
license='Apache License, Version 2.0',
install_requires=[
'Pillow>=2.2.1',
'django-mptt>=0.6.1',
'django_compressor>=1.4,<2.0',
'djangorestframework>=2.3.8,<3.0',
'easy-thumbnails>=2.2',
],
description='Django Fiber - a simple, user-friendly CMS for all your Django projects',
long_description=open('README.md').read(),
author='Dennis Bunskoek',
author_email='[email protected]',
url='https://github.com/ridethepony/django-fiber',
download_url='https://github.com/ridethepony/django-fiber/zipball/master',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
]
)