Skip to content

stockrt/generic_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#
# Author: Rogério Carvalho Schneider <stockrt@gmail.com>
# URL:    http://stockrt.github.com
#

Generic setup.py (generic_setup). This setup.py reads values from the source
code of your module/application and auto-assemble the setup() function
arguments for distutils.
It also automagically generate an RPM .spec file with data gathered from
inside your main program source file.

- Usage
Just set the source_code variable to the correct file name:
### DEFINES_START ###
# Set this parameter to point to your source file, leave the rest as is:
[... snip ...]
source_code = 'change_me/change_me.py'
[... snip ...]
### DEFINES_END ###

    ./setup.py

For more help on generic_setup, type:
    ./setup.py generic_setup using
    ./setup.py generic_setup rpmbuild

For automated rpmbuild, with custom .spec, type:
    ./setup.py rpmbuild

Cleaning up:
    ./setup.py clean

About

Generic setup.py that implements an easy RPM creation process

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.txt
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages