forked from gregschmit/django-auth-exchange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (36 loc) · 1.34 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
import os
from setuptools import find_packages, setup
from django_auth_exchange import version
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# stamp the package prior to installation
version.stamp_directory(os.path.join(os.getcwd(), 'django_auth_exchange'))
# get README
with open('README.rst') as f:
long_description = f.read()
setup(
name='django-auth-exchange',
version="1.0",
packages=find_packages(),
include_package_data=True,
package_data={'django_auth_exchange': ['VERSION_STAMP']},
description='A reusable Django app for authenticating against Exchange servers.',
long_description=long_description,
install_requires=['Django>=2', 'exchangelib'],
url='https://github.com/gregschmit/django-auth-exchange',
author='Gregory N. Schmit',
author_email='[email protected]',
license='MIT',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)