Skip to content

Commit

Permalink
Add scaffolding for bdist_pex
Browse files Browse the repository at this point in the history
  • Loading branch information
msabramo committed May 7, 2015
1 parent 3b55df7 commit 32d644f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pex/bdist_pex.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).

from __future__ import absolute_import, print_function

from distutils.core import Command


class bdist_pex(Command):
description = 'create a pex distribution'
user_options = []

def initialize_options(self):
pass

def finalize_options(self):
pass

def run(self):
print('This is where we would create a pex')
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@
'console_scripts': [
'pex = pex.bin.pex:main',
],
'distutils.commands': [
'bdist_pex = pex.bdist_pex:bdist_pex',
],
},
)

0 comments on commit 32d644f

Please sign in to comment.