creating package with setuptools not installing properly
<p>I'm using setuptools to try and create a module for python.</p>

<p>I have tried installing locally and from git with pip (version 3.5). pip says that the package is installed and it is listed in the installed packages with "pip list" and "pip freeze". When I try to import the module in my script I get an import error "ImportError: No module named 'jackedCodeTimerPY' ". I've been banging my head on the wall for a while now and I think that is a really simple problem and I'm just missing something.</p>

<p>You can find my repo at <a href="https://github.com/BebeSparkelSparkel/jackedCodeTimerPY" rel="nofollow">https://github.com/BebeSparkelSparkel/jackedCodeTimerPY</a></p>

<p>My setup.py looks like this:</p>

<pre><code>from setuptools import setup

setup(name='jackedCodeTimerPY',
      version='0.0.0',
      license='MIT',
      description='Simple but powerful code timer that can measure execution time of one line, functions, imports and gives statistics (min/max/mean/total time, number of executions).',
      author='William Rusnack',
      author_email='williamrusnack@gmail.com',
      url='https://github.com/BebeSparkelSparkel/jackedCodeTimerPY',
      classifiers=['Development Status :: 2 - Pre-Alpha', 'Programming Language :: Python :: 3'],
      py_modules=["jackedCodeTimerPY"],
      install_requires=['tabulate==0.7.5'],
     )
</code></pre>

<p>My directory looks like this:</p>

<pre><code>LICENSE.md      jackedCodeTimerPY.py
README.md     jackedCodeTimerPY.pyc
__pycache__     setup.py
build       small.jpg
dist        t2.py
example.py      tests.py
jackedCodeTimerPY.egg-info
</code></pre>

<p>Seems to work for me:</p>

<pre><code>pip3 install git+git://github.com/BebeSparkelSparkel/jackedCodeTimerPY.git@master

Cloning git://github.com/BebeSparkelSparkel/jackedCodeTimerPY.git (to master) to /tmp/pip-lq07iup9-build
Collecting tabulate==0.7.5 (from jackedCodeTimerPY==0.0.0)
  Downloading tabulate-0.7.5.tar.gz
Installing collected packages: tabulate, jackedCodeTimerPY
  Running setup.py install for tabulate ... done
  Running setup.py install for jackedCodeTimerPY ... done
Successfully installed jackedCodeTimerPY-0.0.0 tabulate-0.7.5

python3 -c 'from jackedCodeTimerPY import JackedTiming; print(JackedTiming)'

&lt;class 'jackedCodeTimerPY.JackedTiming'&gt;
</code></pre>

python setuptools setup.py