forked from openwisp/openwisp-ipam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (40 loc) · 1.35 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
import os
from openwisp_ipam import get_version
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
def get_install_requires():
"""
parse requirements.txt, ignore links, exclude comments
"""
requirements = []
for line in open('requirements.txt').readlines():
if line.startswith('#') or line == '' or line.startswith('git'):
continue
requirements.append(line)
return requirements
setup(
name='openwisp-ipam',
version=get_version(),
packages=find_packages(exclude=['tests', 'docs']),
include_package_data=True,
license='BSD-3-Clause',
description='A django IP address management app.',
long_description=README,
url='',
author='Anurag Sharma',
author_email='[email protected]',
install_requires=get_install_requires(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Networking',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Framework :: Django',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
],
)