Skip to content

Commit

Permalink
Add setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjohannchang committed Jun 26, 2020
1 parent 3f02c56 commit 43eefc1
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ pyserial = "*"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

[tool.dephell.main]
from = {format = "poetry", path = "pyproject.toml"}
to = {format = "setuppy", path = "setup.py"}
36 changes: 36 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-

# DO NOT EDIT THIS FILE!
# This file has been autogenerated by dephell <3
# https://github.com/dephell/dephell

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

import os.path

readme = ''
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(here, 'README.md')
if os.path.exists(readme_path):
with open(readme_path, 'rb') as stream:
readme = stream.read().decode('utf8')

setup(
long_description=readme,
long_description_content_type='text/markdown',
name='aioserial',
version='1.2.3',
description='An asynchronous serial port library of Python',
python_requires='==3.*,>=3.6.0',
project_urls={"homepage": "https://github.com/changyuheng/aioserial"},
author='Henry Chang',
author_email='[email protected]',
license='MPL-2.0',
packages=['aioserial'],
package_dir={"": "src"},
package_data={},
install_requires=['pyserial'],
)

0 comments on commit 43eefc1

Please sign in to comment.