Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
N3RDIUM committed May 15, 2022
1 parent be28438 commit 0741936
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 95 deletions.
72 changes: 0 additions & 72 deletions PyTaskbar/ProgressAPI.py

This file was deleted.

Binary file removed PyTaskbar/TaskbarLib.tlb
Binary file not shown.
1 change: 0 additions & 1 deletion PyTaskbar/__init__.py

This file was deleted.

1 change: 1 addition & 0 deletions PyTaskbarProgress/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# The main library!
32 changes: 16 additions & 16 deletions docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,28 @@ Unfortunately, I did not upload this to Pypi, so you cannot install it with pip.

### To install with wheel:

1.Download wheel from this distribution:[LINK](https://github.com/somePythonProgrammer/PyTaskbar/releases/tag/0.0.1).
1. Download wheel from this distribution:[LINK](https://github.com/somePythonProgrammer/PyTaskbar/releases/tag/0.0.1).

2.Do "pip install path-to-wheel.whl"
2. Do "pip install path-to-wheel.whl"

3.Try out the [example](#docs_example) now!
3. Try out the [example](#docs_example) now!

### To install manually:
1.Download wheel from this distribution:[LINK](https://github.com/somePythonProgrammer/PyTaskbar/releases/tag/0.0.1).
1. Download wheel from this distribution:[LINK](https://github.com/somePythonProgrammer/PyTaskbar/releases/tag/0.0.1).

2.Once you have downloaded it, unzip the downloaded file.
2. Once you have downloaded it, unzip the downloaded file.

3.Go to file explorer and get to the directory where you have cloned or unzipped the repository.
3. Go to file explorer and get to the directory where you have cloned or unzipped the repository.

4.type 'cmd' in the place where you see the path.
4. type 'cmd' in the place where you see the path.

![image](https://user-images.githubusercontent.com/74598401/119104885-69c01e80-ba3a-11eb-9c24-45eaf4bab5bf.png)

5.hit enter.
5. hit enter.

6.type 'python install.py' and hit enter.
6. type 'python install.py' and hit enter.

8.Try out the [example](#docs_example) now!
8. Try out the [example](#docs_example) now!

##### [back to top](#index)
##### [API docs](#main_object)
Expand All @@ -54,9 +54,9 @@ Unfortunately, I did not upload this to Pypi, so you cannot install it with pip.
## Example:

import time
import PyTaskbar
import PyTaskbarProgress

prog = PyTaskbar.Progress()
prog = PyTaskbarProgress.Progress()
prog.init()

prog.setState('loading')
Expand Down Expand Up @@ -114,10 +114,10 @@ Unfortunately, I did not upload this to Pypi, so you cannot install it with pip.
##### [back to top](#index)
##### [back to API docs](#main_object)

import tbprog
import PyTaskbarProgress
import time

progress = Progress()
progress = PyTaskbarProgress.Progress()
progress.init()

#taskbar icon becoms green, or starts to display a loading animation
Expand Down Expand Up @@ -145,10 +145,10 @@ Unfortunately, I did not upload this to Pypi, so you cannot install it with pip.
##### [back to top](#index)
##### [back to API docs](#main_object)

import tbprog
import PyTaskbarProgress
import time

progress = Progress()
progress = PyTaskbarProgress.Progress()
progress.init()

for i in range(100):
Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
import sys
import shutil

# Copy the PyTaskbar/TaskbarLib.tlb file to the dist folder
# Copy the PyTaskbarProgress/TaskbarLib.tlb file to the dist folder

def copy_tlb(dst):
shutil.copy("PyTaskbar\\TaskbarLib.tlb", dst)
shutil.copy("PyTaskbarProgress\\TaskbarLib.tlb", dst)

sitepackages_path = sys.prefix + '\\Lib\\site-packages'
libpath = sitepackages_path + '\\PyTaskbar\\TaskbarLib.tlb'.replace('\\', '/')
libpath = sitepackages_path + '\\PyTaskbarProgress\\TaskbarLib.tlb'.replace('\\', '/')

setuptools.setup(
name='PyTaskbar',
name='PyTaskbarProgress',
version='0.0.1',
author='somePythonProgrammer',
description='The ultimate taskbar progress python package!',
packages = setuptools.find_packages(include=['PyTaskbar']),
package_dir={'PyTaskbar': 'PyTaskbar'},
packages = setuptools.find_packages(include=['PyTaskbarProgress']),
package_dir={'PyTaskbarProgress': 'PyTaskbarProgress'},
classifiers = [
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows :: Windows 10',
Expand Down

0 comments on commit 0741936

Please sign in to comment.