forked from mattsnider/django-simple-social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (44 loc) · 1.65 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
#!/usr/bin/env python
import os, sys
ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
# README is required for distribution, but README.md is required for github,
# so create README temporarily
os.system('cp %s/README.md %s/README.txt' % (ROOT_DIR, ROOT_DIR))
sdict = dict(
name = 'django-simple-social',
packages = ['django_simple_social'],
version='.'.join(map(str, __import__('django_simple_social').__version__)),
description = 'A generic system for interacting with remote APIs '
'that need to create Django socials.',
long_description=open('README.md').read(),
url = 'https://github.com/mattsnider/Django-Simple-Social',
author = 'Matt Snider',
author_email = 'admin@mattsnider.com',
maintainer = 'Matt Snider',
maintainer_email = 'admin@mattsnider.com',
keywords = ['simple', 'social', 'linkedin', 'facebook', 'twitter'],
license = 'MIT',
install_requires=[
# framework required for work with this library
'django>=1.3',
# social infrastructure library
'django-social-user',
# social network libraries
'facebook-sdk',
'linkedin-api-json-client',
'twython',
],
classifiers=[
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
from distutils.core import setup
setup(**sdict)
# cleanup README
os.remove('%s/README.txt' % ROOT_DIR)