forked from jimfunk/django-postgresql-netfields
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·51 lines (41 loc) · 1.18 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
# -*- coding: utf-8 -*-
from distutils.core import setup
from setuptools import find_packages
import os
import sys
def get_long_description():
path = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(path) as f:
return f.read()
requirements = [
'netaddr',
'django>=1.8',
'six',
]
if sys.version_info.major == 2:
requirements.append('ipaddress')
setup(
name='django-netfields',
version='1.2.1',
license='BSD',
description='Django PostgreSQL netfields implementation',
long_description=get_long_description(),
url='https://github.com/jimfunk/django-postgresql-netfields',
author=u'James Oakley',
author_email='jfunk@funktronics.ca',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requirements,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
],
)