Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Fix to show both description and long_description
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-ma committed Aug 3, 2021
1 parent 761f927 commit ad48e51
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
28 changes: 28 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[metadata]
name = sim_csv_script
author = Andrew Ma
long_description = file: README.md
long_description_content_type = text/markdown
platforms = any
classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3 :: Only
Operating System :: OS Independent
Topic :: System :: Hardware :: Universal Serial Bus (USB) :: Smart Card
Intended Audience :: Telecommunications Industry

[options]
python_requires = >=3.6
package_dir=
=src
packages=find:

[options.packages.find]
where=src

[options.entry_points]
console_scripts =
sim_csv_script = sim_csv_script.app:main
33 changes: 3 additions & 30 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,7 @@
import setuptools

requirements_files = ["requirements.txt"]
required_packages = []
for req_filename in requirements_files:
with open(req_filename) as f:
required_packages.extend(f.read().splitlines())

setuptools.setup(
name="sim_csv_script",
version="1.3.6",
description="Program SIM cards by importing CSV file",
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
url="",
author="Andrew Ma",
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent",
"Topic :: System :: Hardware :: Universal Serial Bus (USB) :: Smart Card",
"Intended Audience :: Telecommunications Industry"
],
python_requires=">=3.6",
install_requires=required_packages,
entry_points={
"console_scripts": [
"sim_csv_script = sim_csv_script.app:main"
]
},
)
setup_requires=["pbr"],
pbr=True,
)

0 comments on commit ad48e51

Please sign in to comment.