Skip to content

Commit 98f23e5

Browse files
committed
SetupTools ашиглан хэрэглэхэд хялбархан болгов.
1 parent ab9f77e commit 98f23e5

File tree

5 files changed

+26
-0
lines changed

5 files changed

+26
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pyc

README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,12 @@
66
терминал дээрээсээ
77
python musicplayer.py
88
гээд ажиллуулаад үзээрэй. Алтернатив радиог тоглуулах болно
9+
===========================================================
10+
Дараах санг суулгаарай:
11+
$ apt-get install python-gst0.10
12+
13+
Суулгахдаа
14+
# python setup.py install
15+
16+
Ажиллуулахдаа
17+
$ shmusic

musicplayer/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def main():
2+
import musicplayer
File renamed without changes.

setup.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from setuptools import setup, find_packages
2+
3+
setup(name = 'Music Player',
4+
version = '0.1',
5+
author = 'Sharavsambuu',
6+
description = 'Music Player',
7+
packages = find_packages(),
8+
install_requires = [ ],
9+
entry_points = {
10+
'console_scripts' : [
11+
'shmusic = musicplayer:main',
12+
]
13+
}
14+
)

0 commit comments

Comments
 (0)