-
Notifications
You must be signed in to change notification settings - Fork 225
/
setup.py
executable file
·78 lines (55 loc) · 1.91 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
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python3
import sys
import os
from setuptools import setup, find_packages
def find_data(relpath, folder):
dir_content = []
path = os.path.join(relpath, folder)
tree = [(dirname, filenames) for dirname, _, filenames in os.walk(path)
if filenames]
for root, files in tree:
path = os.path.relpath(root, relpath)
dir_content.extend(map(lambda x: os.path.join(path, x), files))
return dir_content
def package_data(relpath, folders):
all_files = []
for folder in folders:
all_files.extend(find_data(relpath, folder))
return all_files
setup(
name="pokemon-terminal",
version="1.3.0", # Copied from package.json
description="Pokemon terminal themes.",
long_description="""
Pokemon Terminal Themes.
719 unique Pokemon.
from Kanto, Johto, Hoenn, Sinnoh, Unova, and Kalos.
Change the Terminal Background & Desktop Wallpaper.
Supports iTerm2, Terminology, Tilix and ConEmu.""",
url="https://github.com/LazoCoder/Pokemon-Terminal",
author="LazoCoder",
author_email="",
license="GPLv3",
packages=find_packages(exclude=['tests']),
package_data={
"pokemonterminal": package_data("pokemonterminal", ["Data", "Images"]),
},
entry_points = {
'console_scripts': [
'pokemon = pokemonterminal.main:main',
'ichooseyou = pokemonterminal.main:main',
],
},
keywords="pokemon terminal theme style pokemon-terminal",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: End Users/Desktop",
"Environment :: Console",
"Topic :: Utilities",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7"
],
python_requires=">=3.7",
install_requires=(["psutil"] if sys.platform != "win32" else None)
)