This repository has been archived by the owner on Aug 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (54 loc) · 1.9 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
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
60
61
62
from setuptools import setup
import os
data_files = []
for dirpath, dirnames, filenames in os.walk('social'):
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'):
del dirnames[i]
if not '__init__.py' in filenames and filenames:
data_files.append(
[dirpath,
[os.path.join(dirpath, f) for f in filenames]
]
)
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
install_requires = []
try:
__import__('uuid')
except ImportError:
install_requires.append('uuid')
packages = find_packages(exclude=('example', 'example.*'))
setup(
name="django-hyves",
version="0.3.0",
description=\
"Port of PHP library 'genus' to python + basic django implementation",
author="Jacco Flenter @ Secret Code Machine",
author_email="jacco(_AT_)secretcodemachine.com",
packages = packages,
data_files = data_files,
include_package_data=True,
long_description = """
A port of the php library genus for the (dutch) social network site
Hyves.
It consists of 3 parts:
* genus, genus.oauth (namespace) the port of the library
* social, a basic django implementation including some decorators who
are the projects equivolent of login_required
* example, a small django project using this.
See the example project for all dependencies
""",
license="BSD",
keywords="Hyves, python, django, oauth, genus, social network",
url='https://github.com/flenter/django-hyves/',
classifiers = [
"Framework :: Django",
"Development Status :: 3 - Beta",
"License :: OSI Approved :: BSD License",
],
)