This repository has been archived by the owner on Aug 28, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
54 lines (50 loc) · 1.79 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
52
53
54
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), 'r') as readme:
README = readme.read()
with open(os.path.join(os.path.dirname(__file__), 'VERSION'), 'r') as version_file:
VERSION = version_file.read().replace('\n', '')
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-netbox-graphql',
version=VERSION,
packages=find_packages(),
include_package_data=True,
license='MIT',
description='Django module which provides a GraphQL API for Netbox (For django 1.11)',
long_description=README,
url='https://github.com/ninech/django-netbox-graphql',
author='nine.ch',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
keywords='django netbox graphql python',
install_requires=[
'graphene-django==1.3',
'graphene==1.4',
'graphql-core==1.1',
],
extras_require={
'test': [
'snapshottest',
'factory_boy'
]
},
)