This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·68 lines (54 loc) · 1.84 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- coding: utf-8 -*-
import os
from setuptools import setup
__here__ = os.path.abspath(os.path.dirname(__file__))
def split_requirements(lines):
requirements, dependencies = [], []
for line in lines:
if line.startswith('-e'):
line = line.split(' ', 1)[1]
dependencies.append(line)
line = line.split('#egg=', 1)[1]
requirements.append(line)
return requirements, dependencies
with open(os.path.join(__here__, 'requirements.txt')) as f:
REQUIREMENTS = [x.strip() for x in f]
REQUIREMENTS = [x for x in REQUIREMENTS if x and not x.startswith('#')]
REQUIREMENTS, DEPENDENCIES = split_requirements(REQUIREMENTS)
README = open(os.path.join(__here__, 'README.rst')).read()
setup(
name='il2fb-github-bug-reporter',
version='1.0.0',
description="GitHub bug reporter for IL-2 FB libraries",
long_description=README,
keywords=[
'il2', 'il-2', 'fb', 'bug', 'issue', 'github', 'asyncio',
],
license='LGPLv3',
url='https://github.com/IL2HorusTeam/il2fb-github-bug-reporter',
author='Alexander Oblovatniy',
author_email='[email protected]',
namespace_packages=[
'il2fb',
'il2fb.github',
],
packages=[
'il2fb.github.bug_reporter',
],
include_package_data=True,
install_requires=REQUIREMENTS,
dependency_links=DEPENDENCIES,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
],
platforms=[
'any',
],
)