-
Notifications
You must be signed in to change notification settings - Fork 113
/
setup.py
executable file
·45 lines (41 loc) · 1.51 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from nodeshot import get_version
def get_install_requires():
"""
parse requirements.txt, ignore links, exclude comments
"""
requirements = []
for line in open('requirements.txt').readlines():
# skip to next iteration if comment or empty line
if line.startswith('#') or line == '' or line.startswith('http') or line.startswith('git'):
continue
# add line to requirements
requirements.append(line)
return requirements
setup(
name='nodeshot',
version=get_version(),
description="Extensible Django web application for management of community-led georeferenced data.",
long_description=open('README.rst').read(),
author='Federico Capoano',
author_email='[email protected]',
license='GPL3',
url='https://github.com/ninuxorg/nodeshot',
download_url='https://github.com/ninuxorg/nodeshot/releases',
packages=find_packages(exclude=['docs', 'docs.*']),
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Django',
],
install_requires=get_install_requires(),
scripts=['nodeshot/bin/nodeshot'],
)