Skip to content
Snippets Groups Projects
Commit de813385 authored by Nathan Hertz's avatar Nathan Hertz
Browse files

Forgot to add these files.

parent 9270b339
No related branches found
No related tags found
No related merge requests found
from setuptools import setup
setup(
name='setuprecipe',
version='0.1',
py_modules = ['setuprecipe'],
entry_points = {"zc.buildout": ["default=setuprecipe:Recipe"]},
)
\ No newline at end of file
import os
class Recipe:
def __init__(self, buildout, name, options):
options['created'] = "{}/dist/{}".format(options['path'], name + "-4.0.0a1.dev1.macosx-10.15-x86_64.tar.gz")
self.options = options
def install(self):
self.options.created(self.options['created'])
# home = os.getcwd()
# cd into correct directory
os.chdir(self.options['path'])
os.system("ls -la")
# Run setup.py
os.system("python3 setup.py bdist")
return self.options.created()
update = install
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment