-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
34 lines (30 loc) · 1.03 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
#! /usr/bin/python
from setuptools.command import easy_install
from setuptools import setup, find_packages
import shutil
import os.path
import sys
import hashlib
PKG_DIR = os.path.abspath(os.path.dirname(__file__))
PKG_NAME = os.path.basename(PKG_DIR)
# Make it possible to overide script wrapping
old_is_python_script = easy_install.is_python_script
def is_python_script(script_text, filename):
if 'SETUPTOOLS_DO_NOT_WRAP' in script_text:
return False
return old_is_python_script(script_text, filename)
easy_install.is_python_script = is_python_script
setup(
name = "fcdjangoutils",
description = "A collection of various small Django utilities.",
keywords = "django utils",
install_requires = [],
version = "0.0.6",
author = "RedHog (Egil Moeller)",
author_email = "egil.moller@piratpartiet.se",
license = "GPL",
url = "http://github.com/redhog/fcdjangoutils",
packages = find_packages(),
package_data = {'': ['*.txt', '*.css', '*.html', '*.js', '*.po']},
include_package_data = True
)