Skip to content

Commit

Permalink
Move psuedo-egg-info aside.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeboers committed Sep 21, 2017
1 parent 82edde2 commit 0bd7f29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
here = os.path.abspath(os.path.join(__file__, '..'))

about_path = os.path.join(here, 'vee', '__about__.py')
about_ns = {}
execfile(about_path, {'__file__': about_path}, about_ns)
about = {}
execfile(about_path, {'__file__': about_path}, about)

setup(

name='vee',
version=about_ns['__version__'],
version=about['__version__'],
description='Versioned Execution Environment',
url='http://github.com/westernx/vee',
url='http://github.com/vfxetc/vee',

packages=find_packages(exclude=['build*', 'tests*']),

Expand All @@ -29,10 +29,8 @@
'Programming Language :: Python :: 2',
'Topic :: Software Development :: Libraries :: Python Modules',
],

# scripts=['bin/vee'],

entry_points=open(os.path.join(here, 'vee', 'entry_points.txt')).read(),
entry_points=open(os.path.join(here, 'vee', '_egg-info', 'entry_points.txt')).read(),


)
2 changes: 1 addition & 1 deletion vee/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def _bootstrap_entrypoints():
# Make a dummy metadata provider (which looks in our package for metadata),
# and a dummy distribution (which lives wherever it does on dist).
class Provider(pkg_resources.DefaultProvider):
egg_info = os.path.abspath(os.path.join(__file__, '..'))
egg_info = os.path.abspath(os.path.join(__file__, '..', '_egg-info'))
dummy = pkg_resources.Distribution(
project_name='vee',
version='99.99.99',
Expand Down
File renamed without changes.

0 comments on commit 0bd7f29

Please sign in to comment.