Skip to content

Commit

Permalink
Version 1.0.0 - Ready for the Wild
Browse files Browse the repository at this point in the history
- Smooshed `datetimeutils` and `typeutils` into a new package called `ccptools`
  • Loading branch information
CCP-Zeulix committed Apr 5, 2024
1 parent c2016dc commit 04eb438
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 30 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python --version
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
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
49 changes: 49 additions & 0 deletions pyproject.toml
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.*" ]
32 changes: 2 additions & 30 deletions setup.py
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()

0 comments on commit 04eb438

Please sign in to comment.