Skip to main content

Generating C project

Project description

Create C project skeleton

โ˜ฏ๏ธ gen_autoconf is tool for creating C project skeleton.

Developed in ๐Ÿ python code.

codecov CircleCI

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

gen_autoconf python checker gen_autoconf package checker GitHub issues open GitHub contributors

Table of Contents

Installation

Used next development environment

debian linux os

gen_autoconf python2 build gen_autoconf python3 build

Currently there are four ways to install framework

  • Install process based on using pip mechanism
  • Install process based on build mechanism
  • Install process based on setup.py mechanism
  • Install process based on docker mechanism
Install using pip

Python ๐Ÿ“ฆ is located at pypi.org.

You can install by using pip

#python2
pip install gen_autoconf
#python3
pip3 install gen_autoconf
Install using build

Navigate to release page download and extract release archive ๐Ÿ“ฆ.

To install gen-autoconf ๐Ÿ“ฆ run

tar xvzf gen-autoconf-x.y.z.tar.gz
cd gen-autoconf-x.y.z
# python2
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
python2 get-pip.py
python2 -m pip install --upgrade setuptools
python2 -m pip install --upgrade pip
python2 -m pip install --upgrade build
pip2 install -r requirements.txt
python2 -m build -s --no-isolation --wheel
pip2 install dist/gen-autoconf-x.y.z-py2-none-any.whl
rm -f get-pip.py
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py 
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build -s --no-isolation --wheel
pip3 install dist/gen-autoconf-x.y.z-py3-none-any.whl
rm -f get-pip.py
Install using py setup

Navigate to release page download and extract release archive ๐Ÿ“ฆ.

To install gen_autoconf ๐Ÿ“ฆ type the following

tar xvzf gen_autoconf-x.y.z.tar.gz
cd gen_autoconf-x.y.z/
# python2
pip2 install -r requirements.txt
python2 setup.py install_lib
python2 setup.py install_data
python2 setup.py install_egg_info
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_data
python3 setup.py install_egg_info
Install using docker

You can use Dockerfile to create image/container ๐Ÿšข.

gen_autoconf docker checker

Dependencies

gen_autoconf requires next modules and libraries

Tool structure

gen_autoconf is based on OOP

๐Ÿงฐ Generator structure

gen_autoconf/
โ”œโ”€โ”€ conf/
|   โ”œโ”€โ”€ gen_autoconf.logo
โ”‚ย ย  โ”œโ”€โ”€ gen_autoconf.cfg
โ”‚ย ย  โ”œโ”€โ”€ gen_autoconf_util.cfg
โ”‚ย ย  โ”œโ”€โ”€ project.yaml
โ”‚ย ย  โ””โ”€โ”€ template/
โ”‚ย ย      โ”œโ”€โ”€ autogen.template
โ”‚ย ย      โ”œโ”€โ”€ configure.template
โ”‚ย ย      โ”œโ”€โ”€ Makefile.template
โ”‚ย ย      โ”œโ”€โ”€ README.template
โ”‚ย ย      โ””โ”€โ”€ src/
โ”‚ย ย          โ”œโ”€โ”€ main.template
โ”‚ย ย          โ””โ”€โ”€ Makefile.template
โ”œโ”€โ”€ __init__.py
โ”œโ”€โ”€ log/
โ”‚ย ย  โ””โ”€โ”€ gen_autoconf.log
โ”œโ”€โ”€ pro/
โ”‚ย ย  โ”œโ”€โ”€ config/
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ __init__.py
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ pro_name.py
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ template_dir.py
โ”‚ย ย  โ”œโ”€โ”€ __init__.py
โ”‚ย ย  โ”œโ”€โ”€ read_template.py
โ”‚ย ย  โ””โ”€โ”€ write_template.py
โ””โ”€โ”€ run/
    โ””โ”€โ”€ gen_autoconf_run.py

Docs

documentation status

๐Ÿ“— More documentation and info at

Contributing

๐ŸŒŽ ๐ŸŒ ๐ŸŒ Contributing to gen_autoconf

Copyright and Licence

License: GPL v3 License

Copyright (C) 2020 by vroncevic.github.io/gen_autoconf

gen_autoconf is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 2.x/3.x or, at your option, any later version of Python 3 you may have available.

Lets help and support PSF.

Python Software Foundation

Donate

Project details


Download files

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

Source Distribution

gen_autoconf-2.5.8.tar.gz (14.9 kB view hashes)

Uploaded source

Built Distributions

gen_autoconf-2.5.8-py3-none-any.whl (35.9 kB view hashes)

Uploaded py3

gen_autoconf-2.5.8-py2-none-any.whl (35.9 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page