Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
prepare for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kmpm committed Dec 2, 2020
1 parent 3e07591 commit d33d27e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
dist/
build/
*.pyc
__pycache__/

# testing
.coverage
env/
env3/
*.log
tmp/
venv/

# editors
.vscode/
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python
python:
- 3.5
- 3.6
- 3.7

# command to install dependencies
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (C) 2015-2019 Peter Magnusson <peter@kmpm.se>
Copyright (C) 2015-2020 Peter Magnusson <me@kmpm.se>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions doc/DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ Develop and Test nodemcu-uploader

Configure development environment
-------
```
```shell
git clone https://github.com/kmpm/nodemcu-uploader
cd nodemcu-uploader
virtualenv env
. env/bin/activate
python3 -m venv
. venv/bin/activate
pip install -r test_requirements.txt
python setyp.py develop
pip install -e .
```



Testing
-------
```
```shell
pip install -r test_requirements.txt
coverage run setup.py test
# or even better testing with tox
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (C) 2015-2019 Peter Magnusson <peter@kmpm.se>
# Copyright (C) 2015-2020 Peter Magnusson <me@kmpm.se>
"""Setup for nodemcu-uploader"""

from setuptools import setup
Expand All @@ -16,13 +16,13 @@
# package_dir={'nodemcu_uploader': 'lib'},
url='https://github.com/kmpm/nodemcu-uploader',
author='kmpm',
author_email='[email protected]',
author_email='[email protected]',
description='tool for uploading files to the filesystem of an ESP8266 running NodeMCU.',
keywords=['esp8266', 'upload', 'nodemcu'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.5'
'Programming Language :: Python :: 3'
],
license='MIT',
test_suite="tests.get_tests",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[tox]
envlist = py35, py36, py37
envlist = py36, py37, py38

[testenv]
deps = -rtest_requirements.txt
commands = python -m unittest -v tests.get_tests
setenv =
SERIALPORT=/dev/ttyACM0
SERIALPORT=

[flake8]
include =
nodemcu_uploader,
tests
# ignore = E501
max-line-length = 120
max-line-length = 120

0 comments on commit d33d27e

Please sign in to comment.