Update setup.py to be functionnal

This commit is contained in:
Valentin Samir 2015-12-12 13:07:36 +01:00
parent 9dc18675f9
commit a071ad46d7
3 changed files with 16 additions and 6 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
*.pyc *.pyc
*.egg-info *.egg-info
build/
bootstrap3 bootstrap3
cas/ cas/
db.sqlite3 db.sqlite3

View file

@ -1,5 +1,2 @@
include LICENSE include LICENSE
include README.rst include README.rst
recursive-include cas_server/templates/*
recursive-include cas_server/locale/*
recursive-include cas_server/static/*

View file

@ -9,7 +9,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup( setup(
name='django-cas-server', name='django-cas-server',
version='0.1', version='0.2',
packages=['cas_server'], packages=['cas_server'],
include_package_data=True, include_package_data=True,
license='GPLv3', license='GPLv3',
@ -24,10 +24,22 @@ setup(
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python', 'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
], ],
package_data={
'cas_server': [
'templates/cas_server/*',
'static/cas_server/*',
'locale/*/LC_MESSAGES/*',
]
},
keywords=['django', 'cas', 'cas3', 'server', 'sso', 'single sign-on', 'authentication', 'auth'],
install_requires=['Django >= 1.7', 'requests >= 2.4', 'requests_futures >= 0.9.5',
'django-picklefield >= 0.3.1', 'django-bootstrap3 >= 5.4', 'lxml >= 3.4'],
url="https://github.com/nitmir/django-cas-server",
download_url="https://github.com/nitmir/django-cas-server/releases",
zip_safe=False
) )