Skip to content

Commit

Permalink
starting on interacting with cmmi: the first real plugin for uranium
Browse files Browse the repository at this point in the history
  • Loading branch information
toumorokoshi committed Jan 26, 2015
1 parent fe54db2 commit 4335eba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/usr/bin/env python

try:
from setuptools import setup, find_packages
except:
from distutils.core import setup
from setuptools import setup, find_packages

install_requires = [
'setuptools==12.0.3',
Expand All @@ -23,7 +19,7 @@
]

setup(name='uranium',
version='0.0.37',
version='0.0.39',
description='a build system for python',
long_description='a build system for python',
author='Yusuke Tsutsumi',
Expand All @@ -38,9 +34,13 @@
'Topic :: System :: Software Distribution',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3'
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
entry_points={
'console_scripts': [
Expand Down
1 change: 1 addition & 0 deletions uranium/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
invoked in. this can be overridden by passing in a
path to a <uranium_file>
"""
__import__('pkg_resources').declare_namespace(__name__)
import logging
from contextlib import contextmanager
from pip._vendor import pkg_resources
Expand Down
4 changes: 4 additions & 0 deletions uranium/plugin/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# we declare this as a namespace so this namespace is searched
# even after this module is discovered, thus discovering the plugins.
# using this as a prefix.
__import__('pkg_resources').declare_namespace(__name__)

0 comments on commit 4335eba

Please sign in to comment.