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

Commit

Permalink
Fix a bug of setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ryul1206 committed Aug 10, 2020
1 parent 27076d2 commit 4575613
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 21 deletions.
4 changes: 4 additions & 0 deletions README.base.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,5 +356,9 @@ The contents of this repository are subject to the [MIT License](https://github.
**PyPI Uploading...**

python3 setup.py sdist bdist_wheel --universal

test upload
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

deploy
python3 -m twine upload dist/*
44 changes: 23 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
import setuptools
import sys
# read the contents of your README file
from os import path

with open("README.md", "r") as fh:
long_description = fh.read()
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()

setuptools.setup(
name = 'dynamixel_helper',
version = '1.0.1',
author = 'Hong-ryul Jung',
author_email = '[email protected]',
description = 'You can use this helper instead of the Dynamixel-SDK to speed up your work.',
long_description = long_description,
long_description_content_type = "text/markdown",
license = 'MIT',
url = 'https://github.com/ryul1206/easy-dynamixel-helper',
name="dynamixel_helper",
version="1.0.1",
author="Hong-ryul Jung",
author_email="[email protected]",
description="You can use this helper instead of the Dynamixel-SDK to speed up your work.",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/ryul1206/easy-dynamixel-helper",
# download_url = 'https://github.com/ryul1206/easy-dynamixel-helper/releases',
install_requires = ['dynamixel_sdk>=3'],
python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
install_requires=["dynamixel_sdk>=3"],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4",
# py_modules = [""],
packages = setuptools.find_packages(exclude=['tutorial', 'tests']),
package_data = {'dynamixel_helper': ['tables/*.json']},
keywords = ['dynamixel'],
classifiers = [
packages=setuptools.find_packages(exclude=["tutorial", "tests"]),
package_data={"dynamixel_helper": ["tables/*.json"]},
keywords=["dynamixel"],
classifiers=[
"License :: OSI Approved :: MIT License",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2'
]
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2",
],
)

0 comments on commit 4575613

Please sign in to comment.