forked from jacobsvante/grappelli-modeltranslation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (34 loc) · 1.16 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
#!/usr/bin/env python
from distutils.core import setup
import os
import sys
appname = 'grappelli_modeltranslation'
version = __import__(appname).__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()
setup(
name='grappelli-modeltranslation',
version=version,
description="A small compatibility layer between grappelli and " \
"django-modeltranslation",
author='Jacob Magnusson',
author_email='[email protected]',
url='https://github.com/jmagnusson/grappelli-modeltranslation',
license='New BSD License',
platforms=['any'],
packages=[appname],
package_data={appname: ['static/modeltranslation/*/*']},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
)