-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (26 loc) · 1023 Bytes
/
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
from babel.messages import frontend as babel
import setuptools
def read_requirements(filename):
with open(filename, 'r') as file:
return [line for line in file.readlines() if not line.startswith('-')]
setuptools.setup(
name="legendarybot-bot",
version="0.0.1",
author="Greatman",
author_email="[email protected]",
description="LegendaryBot Bot",
long_description="LegendaryBot Bot",
long_description_content_type="text/markdown",
url="https://github.com/LegendaryBot/bot",
packages=setuptools.find_packages(),
install_requires=read_requirements('requirements.txt'),
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
cmdclass = {'compile_catalog': babel.compile_catalog,
'extract_messages': babel.extract_messages,
'init_catalog': babel.init_catalog,
'update_catalog': babel.update_catalog},
)