Skip to main content

Create project layout from jinja2 templates.

Project description

Summary

Create project layout from jinja2 templates.

Installation

$ pip install make

Usage

$ python -m make project source-path target-path

The source path have to contain a file named project.conf

The format of the file is more or less ini format:

[general]
project_name = My-Project
package_name = {{ project.project_name.lower().replace(' ', '_').replace('-', '_') }}

Section names and key names can be anything. Usage in a python file:

setup.py:

from setuptools import setup, find_packages
from {{ general.package_name }} import __version__ as app_version

setup(
    name="{{ general.project_name }}",
    version=app_version,
    packages=find_packages(include=['{{ general.package_name }}*']),
)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

make-0.1.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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