forked from chathaway-codes/django-cms-bootstrap-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (29 loc) · 1.08 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
import os, sys
try:
from setuptools import setup
from setuptools import find_packages
except:
from distutils.core import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def read_requirements(fname):
f = open(os.path.join(os.path.dirname(__file__), fname))
return filter(lambda f: f != '', map(lambda f: f.strip(), f.readlines()))
setup(
zip_safe = False,
name = "cms-bootstrap-templates",
version = "1.1.0",
author = "Charles Hathaway",
author_email = "[email protected]",
description = "This package provides a variety of Django CMS templates designed using Twitter Bootstrap",
keywords = "",
packages=find_packages(),
long_description=read('README.md'),
install_requires = read_requirements('libraries.txt'),
test_suite = "dummy",
include_package_data=True,
)