Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
Fix MANIFEST.in to limit the included files in the package.
Browse files Browse the repository at this point in the history
Add Windows binary build compatibility and instructions.
  • Loading branch information
Mincka committed Oct 9, 2016
1 parent 19105e0 commit e758ef0
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include *.md
include *.txt
include README.md
include requirements.txt
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,19 @@ $ pip install -r requirements.txt
$ python setup.py install
```

## Windows binary build
You can build it yourself with `pyinstaller` or just check out the project releases.

```
> pip install pyinstaller
> pyinstaller --onefile dmarchiver\cmdline.py -n dmarchiver.exe
> cd dist
> dmarchiver.exe
```

## Troubleshooting
You may encounter building issues with the `lxml` library on Windows. The most simple and straightforward fix is to download and install a precompiled binary from [this site](http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml) and install the package locally:

`$ pip install lxml-3.6.4-cp35-cp35m-win_amd64.whl`

## License
Expand Down
2 changes: 1 addition & 1 deletion dmarchiver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
without having to deal with the API limitations.
"""

__version__ = "0.0.2"
__version__ = "0.0.3"
7 changes: 5 additions & 2 deletions dmarchiver/cmdline.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-

"""
Direct Messages Archiver - Command Line
Expand Down Expand Up @@ -32,4 +32,7 @@ def main():
args = parser.parse_args()

crawler = Crawler(args.conversation_id[0], args.auth_token[0])
crawler.crawl(args.download_images, args.download_gifs)
crawler.crawl(args.download_images, args.download_gifs)

if __name__ == "__main__":
main()
2 changes: 1 addition & 1 deletion dmarchiver/core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-

"""
Direct Messages Archiver
Expand Down

0 comments on commit e758ef0

Please sign in to comment.