Browse Source

build sdist

Daniel Wallace 6 years ago
parent
commit
140bc55057
2 changed files with 3 additions and 3 deletions
  1. 2 2
      pepper/__init__.py
  2. 1 1
      tox.ini

+ 2 - 2
pepper/__init__.py

@@ -5,10 +5,10 @@ import pkg_resources
 
 from pepper.libpepper import Pepper, PepperException
 
-__all__ = ('__version__', '__name__', 'Pepper', 'PepperException')
+__all__ = ('__version__', 'Pepper', 'PepperException')
 
 try:
     __version__ = pkg_resources.get_distribution('salt_pepper').version
 except pkg_resources.DistributionNotFound:
     # package is not installed
-    pass
+    __version__ = None

+ 1 - 1
tox.ini

@@ -7,7 +7,7 @@ envlist =
     coverage
     flake8
 skip_missing_interpreters = true
-skipsdist = true
+skipsdist = false
 
 [testenv]
 passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_*