-
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.
* Adjusted README.md for standard pip installation. Added information on how to handle multiple envs. Used absolute paths instead of relative for documentation for when it gets uploaded to other sites * Adjusted some of the information for uploading to PyPI, tweaked the version slightly * Minor tweaks and nitpicky stuff
- Loading branch information
Showing
5 changed files
with
35 additions
and
22 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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
include LICENSE | ||
include README.md | ||
include TODO.md | ||
recursive-include git_py_stats * | ||
recursive-include git_py_stats *.py | ||
recursive-include man * | ||
global-exclude *.pyc __pycache__/ | ||
prune git_py_stats/tests | ||
|
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
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
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
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,28 +1,34 @@ | ||
from setuptools import setup, find_packages | ||
|
||
# Read the long description from README | ||
with open("README.md", "r", encoding="utf-8") as fh: | ||
long_description = fh.read() | ||
|
||
setup( | ||
name="git-py-stats", | ||
version="0.1", | ||
packages=find_packages( | ||
exclude=["*.tests", "*.tests.*", "tests.*", "tests"] | ||
), # Exclude test packages | ||
version="0.1.0", | ||
packages=find_packages(), | ||
entry_points={ | ||
"console_scripts": [ | ||
"git-py-stats=git_py_stats.main:main", | ||
], | ||
}, | ||
install_requires=[ | ||
# Nothing | ||
], | ||
data_files=[ | ||
# Manpages | ||
("share/man/man1", ["man/git-py-stats.1"]), | ||
], | ||
description="A Python Implementation of git-quick-stats", | ||
long_description=open("README.md").read(), | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
author="Tom Ice", | ||
author_email="contact@thomasice.com", | ||
license="MIT", | ||
url="https://github.com/tomice/git-py-stats", | ||
python_requires=">=3.6", | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires=">=3.8", | ||
include_package_data=True, | ||
keywords="git stats statistics command-line", | ||
) |