Skip to content

Commit

Permalink
Readme and changeme and bump up version
Browse files Browse the repository at this point in the history
  • Loading branch information
Manish Kumar committed Feb 12, 2020
1 parent e16620d commit 8880255
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changes log
===========

0.0.1
1.0.1(Alpha)
-----

- Package Initialized with below feature
Expand All @@ -10,7 +10,7 @@ Changes log

[Manish]

0.0.2
1.0.2
----
- Package modification with below feature
1. Accept custom log path to log the message
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,26 @@ Package is written in Python3.7 so needs System or virtual env to have these pac
6. aiohttp
7. packaging

Usage
=====

```
>> import py2pip
>> py2pip.process.Py2PIPManager('Django', '2.7').run()
Django==1.11.28
```

**Using CLI:**

```
>> python3 -m py2pip --py-version 2.7 -p mock
Execution time: 2.062346935272217
Supported Version: mock==3.0.5
```


Links
=====
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


PACKAGE_NAME = 'py2pip'
version = '0.0.1'
version = '1.0.2'


class Sdist(_sdist):
Expand Down Expand Up @@ -54,7 +54,6 @@ def read(*names):
"Development Status :: 5 - Production/Stable",
"Environment :: No Input/Output (Daemon)",
"Framework :: AsyncIO",
"Framework :: aiohttp",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
Expand Down
2 changes: 1 addition & 1 deletion src/py2pip/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async def process_package_history_page(self):
self.log.info('Create client session and read page')

if self.show_progress:
task = asyncio.create_task(self.show_progress_msg())
task = self.loop.create_task(self.show_progress_msg())

async with aiohttp.ClientSession() as session:
await self.process_history_page(session)
Expand Down

0 comments on commit 8880255

Please sign in to comment.