This repository has been archived by the owner on May 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to show both description and long_description
- Loading branch information
Showing
2 changed files
with
31 additions
and
30 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,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 |
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 |
---|---|---|
@@ -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, | ||
) |