-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move to more standard project structure
- Loading branch information
Showing
5 changed files
with
56 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
all: lint | ||
|
||
.PHONY: lint | ||
lint: | ||
flake8 --ignore=E501,W503 | ||
|
||
.PHONY: release | ||
release: | ||
python3 -m build | ||
python3 -m twine upload dist/* | ||
|
||
clean: | ||
find . -type f -name *.pyc -delete | ||
find . -type d -name __pycache__ -delete | ||
rm -rf build | ||
rm -rf dist | ||
rm -rf *.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[metadata] | ||
name = sdm_modbus | ||
version = 0.4.4 | ||
author = m,ale; | ||
author_email = | ||
description = Eastron SDM Modbus parser library | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
license = MIT License | ||
url = https://github.com/nmakel/sdm_modbus | ||
project_urls = | ||
Bug Tracker = https://github.com/nmakel/sdm_modbus/issues | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
Programming Language :: Python :: 3.7 | ||
Operating System :: OS Independent | ||
Environment :: Console | ||
Natural Language :: English | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: MIT License | ||
|
||
[options] | ||
package_dir = | ||
= src | ||
packages = find: | ||
include_package_data = True | ||
python_requires = >= 3.7 | ||
install_requires = | ||
pymodbus >= 2.3.0 | ||
|
||
[options.packages.find] | ||
where = src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.