-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
51 lines (45 loc) · 1.54 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 -*-
"""Setup script"""
from os import path
from setuptools import setup
AUTHOR = "Raghav Sairam"
EMAIL = "raghavsairamn@gmail.com"
NAME = 'd2api'
URL = "https://github.com/whoophee/d2api"
DATE = "25/10/2018"
LICENSE = "GPL-3.0"
VERSION = '1.1'
DESCR = "Dota 2 API wrapper and parser for Python 3"
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
LONG_DESCR = f.read()
setup(
name = NAME,
version = VERSION,
author = AUTHOR,
author_email = EMAIL,
url = URL,
description = DESCR,
long_description = LONG_DESCR,
long_description_content_type='text/markdown',
license = LICENSE,
keywords = "dota2 dota api d2api parser",
packages = ['d2api', 'd2api.src', 'd2api.ref'],
package_data = {'d2api.ref': ['abilities.json',
'heroes.json',
'items.json',
'meta.json']},
install_requires = ['requests'],
classifiers=[
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7"
]
)