forked from programble/omgircd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (48 loc) · 1.45 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
"""
Packaging for omgircd3.
"""
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
from os import environ
import omgircd3
here = path.abspath(path.dirname(__file__))
extra_requirements = environ.get('EXTRA_REQUIRES', [])
if extra_requirements:
extra_requirements = extra_requirements.split(',')
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='omgircd3',
version=omgircd3.__version__,
description='A Python3 IRC server/daemon',
long_description=long_description,
url='https://github.com/brunobord/omgircd3',
author='Bruno Bord',
author_email='bruno@jehaisleprintemps.net',
license='ISC',
classifiers=[
# State
'Development Status :: 3 - Alpha',
# OS
'Operating System :: OS Independent',
# Topic
'Topic :: Communications :: Chat :: Internet Relay Chat',
# License
'License :: OSI Approved :: ISC License (ISCL)',
# Languages
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
packages=find_packages(),
python_requires='~=3.6',
setup_requires=['pytest-runner'],
tests_require=['pytest'] + extra_requirements,
entry_points={
'console_scripts': [
'omgircd3=omgircd3.ircd:run',
],
}
)