-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Smooshed `datetimeutils` and `typeutils` into a new package called `ccptools`
- Loading branch information
1 parent
c2016dc
commit 04eb438
Showing
4 changed files
with
66 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
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.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
|
||
## [1.0.0] - 2024-04-05 | ||
|
||
### Added | ||
|
||
- This entire Project |
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,49 @@ | ||
[build-system] | ||
requires = [ "setuptools>=42", "wheel" ] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "ccptools" | ||
dynamic = ["version"] | ||
description = "The CCP Tools team utilities for date and/or time objects and values and messing with types." | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
license = { file = "LICENSE" } | ||
authors = [ | ||
{ name = "Thordur Matthiasson", email = "[email protected]" }, | ||
{ name = "John Aldis", email = "[email protected]" } | ||
] | ||
keywords = [ "datetimeutils", "datetime", "typeutils", "type", "singleton", "date", "time", "timespan", "tools", "ccp", "utils" ] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
|
||
"License :: OSI Approved :: MIT License", | ||
|
||
"Intended Audience :: Developers", | ||
|
||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
|
||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Utilities" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/ccpgames/ccptools" | ||
Documentation = "https://github.com/ccpgames/ccptools/blob/main/README.md" | ||
Repository = "https://github.com/ccpgames/ccptools.git" | ||
Issues = "https://github.com/ccpgames/ccptools/issues" | ||
Changelog = "https://github.com/ccpgames/ccptools/blob/main/CHANGELOG.md" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "ccptools.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
where = [ "." ] | ||
exclude = [ "tests", "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,6 @@ | ||
#!/usr/bin/env python | ||
import setuptools | ||
from ccptools import __version__ | ||
|
||
|
||
with open('README.md', encoding='utf-8') as f: | ||
readme = f.read() | ||
|
||
|
||
with open('LICENSE', encoding='utf-8') as f: | ||
lic = f.read() | ||
|
||
|
||
setuptools.setup( | ||
name='ccptools', | ||
version=__version__, | ||
classifiers=[ | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.12', | ||
], | ||
description='The CCP Tools team utilities for date and/or time objects and values and messing with types.', | ||
long_description_content_type='text/markdown', | ||
long_description=readme, | ||
license=lic, | ||
author='Thordur Matthiasson', | ||
author_email='[email protected]', | ||
url='https://github.com/ccpgames/ccptools', | ||
packages=setuptools.find_packages(exclude=('tests',)), | ||
install_requires=[] | ||
) | ||
if __name__ == '__main__': | ||
setuptools.setup() |