This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (45 loc) · 1.52 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
from os.path import abspath
from os.path import dirname
from os.path import join
from setuptools import find_packages
from setuptools import setup
def read_relative_file(filename):
"""
Returns contents of the given file, whose path is supposed relative
to this module.
"""
with open(join(dirname(abspath(__file__)), filename)) as f:
return f.read()
setup(
name='django-cross-site-urls',
version=read_relative_file('VERSION').strip(),
author='Kapt',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
url='https://github.com/kapt-labs/django-cross-site-urls',
license='BSD',
description='A Django module allowing to resolve urls across two django sites.',
long_description=read_relative_file('README.rst'),
zip_safe=False,
install_requires=[
'django>=1.7',
'djangorestframework>=3.2.4',
'slumber>=0.7.1',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)