forked from coala/coala-bears
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py.in
45 lines (39 loc) · 1.77 KB
/
setup.py.in
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
#!/usr/bin/env python3
import locale
from setuptools import find_packages, setup
try:
locale.getlocale()
except (ValueError, UnicodeError):
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
if __name__ == "__main__":
try:
setup(name=$NAME,
version='$VERSION',
description="$NAME bear for coala (http://coala.rtfd.org/)",
authors=$AUTHORS,
authors_emails=$AUTHORS_EMAILS,
maintainers=$MAINTAINERS,
maintainers_emails=$MAINTAINERS_EMAILS,
platforms=$PLATFORMS,
license='$LICENSE',
packages=find_packages(exclude=["build.*"]),
long_description="""$LONG_DESCRIPTION""",
entry_points={"coalabears": ["$BEAR_NAME = $BEAR_NAME"]},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: "
"Python :: Implementation :: CPython",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Text Processing :: Linguistic"])
finally:
print('[WARN] If you do not install the bears using the coala '
'installation tool, there may be problems with the dependencies '
'and they may not work.')