From 9fbfe19c550b147e8d0377108cdac8231cf0fb27 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Sat, 12 Dec 2015 14:28:19 +0100 Subject: [PATCH] Add static files, templates and locales --- MANIFEST.in | 3 +++ Makefile | 14 ++++++++++++++ setup.py | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/MANIFEST.in b/MANIFEST.in index d891a07..bc6a3b2 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,3 +2,6 @@ include tox.ini include LICENSE include README.rst prune .tox +recursive-include cas_server/static * +recursive-include cas_server/templates * +recursive-include cas_server/locale * diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2ca0801 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: clean build install dist +build: + python setup.py build + +install: + python setup.py install + +clean: + find ./ -name '*.pyc' -delete + find ./ -name __pycache__ -delete + rm -rf build django_cas_server.egg-info dist + +dist: + python setup.py sdist diff --git a/setup.py b/setup.py index 04f4883..79fcd89 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-cas-server', - version='0.3.3', + version='0.3.4', packages=['cas_server', 'cas_server.migrations', 'cas_server.management', 'cas_server.management.commands'], include_package_data=True, license='GPLv3',