-
Notifications
You must be signed in to change notification settings - Fork 65
/
setup.py
executable file
·49 lines (39 loc) · 1.11 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
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.3.2',
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='[email protected]',
packages=["netfields"],
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',
],
)