Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 50 lines (40 sloc) 1.472 kB
526dc85 @markotibold You can now pass 'publish' as an arugument to to push to pypi.
markotibold authored
1 import os
2 import sys
2aae1e2 @dbunskoek first commit
dbunskoek authored
3 from setuptools import setup, find_packages
4
526dc85 @markotibold You can now pass 'publish' as an arugument to to push to pypi.
markotibold authored
5 version = __import__('fiber').__version__
6
b3d1135 updated django rest framework to 2.1.15
Niels van Dijk authored
7 if sys.argv[-1] == 'publish': # upload to pypi
2aaf1b4 @mbraak Publish script creates egg and wheel files
mbraak authored
8 os.system("python setup.py register sdist bdist_egg bdist_wheel upload")
526dc85 @markotibold You can now pass 'publish' as an arugument to to push to pypi.
markotibold authored
9 print "You probably want to also tag the version now:"
10 print " git tag -a %s -m 'version %s'" % (version, version)
11 print " git push --tags"
12 sys.exit()
13
2aae1e2 @dbunskoek first commit
dbunskoek authored
14 setup(
044d17c @dbunskoek packaged Django Fiber for PyPI
dbunskoek authored
15 name='django-fiber',
526dc85 @markotibold You can now pass 'publish' as an arugument to to push to pypi.
markotibold authored
16 version=version,
044d17c @dbunskoek packaged Django Fiber for PyPI
dbunskoek authored
17 license='Apache License, Version 2.0',
18
19 install_requires=[
f0d36b9 @spookylukey Use version ranges rather than exact versions in setup.py
spookylukey authored
20 'Pillow>=2.2.1',
9bcb278 @jbovenschen Upgraded django-mptt to 0.6.1
jbovenschen authored
21 'django-mptt>=0.6.1',
d310e41 @jbovenschen Upgraded django compressor to 1.4
jbovenschen authored
22 'django_compressor>=1.4',
0a2848d @bsimons pinned djangorestframework in setup.py
bsimons authored
23 'djangorestframework>=2.3.8,<3.0',
55ce3fe @jbovenschen Removed south and updated easy-thumbnails requirements
jbovenschen authored
24 'easy-thumbnails>=2.2',
044d17c @dbunskoek packaged Django Fiber for PyPI
dbunskoek authored
25 ],
26
27 description='Django Fiber - a simple, user-friendly CMS for all your Django projects',
f028db8 @markotibold Added a changelog.
markotibold authored
28 long_description=open('README.md').read(),
044d17c @dbunskoek packaged Django Fiber for PyPI
dbunskoek authored
29
30 author='Dennis Bunskoek',
31 author_email='dbunskoek@leukeleu.nl',
32
33 url='https://github.com/ridethepony/django-fiber',
34 download_url='https://github.com/ridethepony/django-fiber/zipball/master',
35
36 packages=find_packages(),
37 include_package_data=True,
38
39 zip_safe=False,
40 classifiers=[
4e52380 @mbraak Changed development status to Production/Stable
mbraak authored
41 'Development Status :: 5 - Production/Stable',
044d17c @dbunskoek packaged Django Fiber for PyPI
dbunskoek authored
42 'Environment :: Web Environment',
43 'Intended Audience :: Developers',
44 'License :: OSI Approved :: Apache Software License',
45 'Operating System :: OS Independent',
46 'Programming Language :: Python',
47 'Framework :: Django',
48 ]
2aae1e2 @dbunskoek first commit
dbunskoek authored
49 )
Something went wrong with that request. Please try again.