-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
84 additions
and
5 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,13 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.1.0] - 2020-02-25 | ||
|
||
### Added | ||
|
||
- first version | ||
- tests | ||
- a changelog :D |
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,3 @@ | ||
# CHACHACHA | ||
|
||
Chachacha changes changelogs. |
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,5 @@ | ||
click==7.0 | ||
jinja2==2.11.1 | ||
keepachangelog==0.2.0 | ||
markupsafe==1.1.1 | ||
semver==2.9.1 |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
import os | ||
|
||
import poetry_version | ||
from setuptools import setup | ||
|
||
with open("requirements.txt") as f: | ||
REQUIRES = f.readlines() | ||
|
||
|
||
def get_long_description(): | ||
""" | ||
Return the README. | ||
""" | ||
with open("README.md", encoding="utf8") as f: | ||
return f.read() | ||
|
||
|
||
def get_packages(package): | ||
""" | ||
Return root package and all sub-packages. | ||
""" | ||
return [ | ||
dirpath | ||
for dirpath, dirnames, filenames in os.walk(package) | ||
if os.path.exists(os.path.join(dirpath, "__init__.py")) | ||
] | ||
|
||
|
||
setup( | ||
name="chachacha", | ||
python_requires=">=3.6", | ||
version=poetry_version.extract(source_file=__file__), | ||
url="https://github.com/aogier/chachacha", | ||
license="BSD", | ||
description="Chachacha changes changelogs.", | ||
long_description=get_long_description(), | ||
long_description_content_type="text/markdown", | ||
author="Alessandro Ogier", | ||
author_email="[email protected]", | ||
packages=get_packages("chachacha"), | ||
install_requires=REQUIRES, | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
], | ||
entry_points={"console_scripts": ["chachacha=chachacha.main:main",]}, | ||
zip_safe=False, | ||
) |