-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (48 loc) · 1.66 KB
/
setup.py
File metadata and controls
59 lines (48 loc) · 1.66 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import sys
try:
import entree
except ImportError:
sys.path.insert(0, abspath(dirname(__file__)))
import entree
from os.path import join, abspath, dirname
from setuptools import find_packages
from distutils.core import setup
CWD = abspath(dirname(__file__))
def install_requires():
with open(join(CWD, 'requirements.txt'), 'r') as f:
reqs = [one for one in f.read().split("\n") if not one.startswith('"#"')]
base = ['setuptools>=0.6b1']
return base + reqs
setup(
name='Entree',
version=entree.__versionstr__,
description='Entree - Django powered SSO',
long_description=open('README.md').read(),
author='Sanoma Media Praha s.r.o.',
author_email='online-dev@sanomamedia.cz',
maintainer='Vitek Pliska',
maintainer_email='whit@jizak.cz',
license='BSD',
url='http://github.com/sanomacz/django-entree/',
packages=find_packages(
where='.',
exclude=('docs', 'tests',)
),
include_package_data=True,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Framework :: Django",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=install_requires(),
tests_require=['nose', 'coverage', 'mock'],
test_suite='tests.run_tests.run_all'
)