Skip to main content

A quick and easy replacement for some `setup.py` implementations.

Project description

Standardized setup.py

Overview

This project contains a Python-based setup automation tool designed to help streamline the process of preparing and managing project setups. It includes utilities for handling versioning, dates, notes, and README files, leveraging a dynamic caching system to maintain state across sessions.

Word of Caution

:warning: This project is still in development and should be used with caution. :warning:

Planned Features

  • Date Management: Automatically manages the date of the last modification using a custom class.
  • Version Control: Validates and stores version numbers with a strict format.
  • Notes Management: Supports capturing and formatting release notes for easy inclusion in project documentation.
  • Automated Setup: Integrates with setuptools for seamless package distribution preparation.

Requirements

  • Python 3.x
  • setuptools module

Usage

  1. Initialization: Start by configuring the basic project parameters like name, version, and description.
  2. Parameter Management: Through interactive prompts, manage various parameters including version number, modification dates, and release notes.
  3. Setup Execution: Execute the setup to generate distribution packages and, optionally, publish them to PyPi.

Example

from templated_setup import Setup_Helper

DESCRIPTION = "A quick and easy replacement for some `setup.py` implementations."

Setup_Helper.setup(
	name="templated_setup",
	author="matrikater (Joel Watson)",
	description=DESCRIPTION,
	author_email="administraitor@matriko.xyz",
)

Installation

To install the package, run the following command:

pip install templated-setup

Contributing

Contributions are welcome! For feature requests, bug reports, or questions, please submit an issue.

Actually I would be happy to have some help with this project as making a setup.py every time is a bit boring.

License

This project is licensed under the GPLv2 License - see the LICENSE file for details.

V0.9983

No notes.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

templated_setup-0.9983.tar.gz (17.3 kB view details)

Uploaded Source

File details

Details for the file templated_setup-0.9983.tar.gz.

File metadata

  • Download URL: templated_setup-0.9983.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for templated_setup-0.9983.tar.gz
Algorithm Hash digest
SHA256 48e06f60a1886cee55523e41d1d79c0dc8f5ddea2b4e22d539e8ec63a5523084
MD5 8fec47e77e0b11840cda83860df3dcad
BLAKE2b-256 9102b9c76f848f800dc9e58e23d9ba09f649a204992d162929fb60fe700a7697

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page