Skip to content

Commit

Permalink
Fixed the setup issue
Browse files Browse the repository at this point in the history
setup.py wasn't properly updated after converting package to a single
module. Fixed the issues and tested, then bumped version to 1.4.0
  • Loading branch information
connordelacruz committed Apr 19, 2018
1 parent 3d21196 commit 49a3cd5
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 38 deletions.
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 6f9da282e3337aae02675f95b1c481b0
config: eb36d5f8558e907fdf5c6a375fbe44ba
tags: 645f666f9bcd5a90fca523b33c5a78b7
8 changes: 4 additions & 4 deletions docs/build/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Overview: module code &mdash; Python Random User Generator 1.3.0 documentation</title>
<title>Overview: module code &mdash; Python Random User Generator 1.4.0 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="index" title="Index"
href="../genindex.html"/>
<link rel="search" title="Search" href="../search.html"/>
<link rel="top" title="Python Random User Generator 1.3.0 documentation" href="../index.html"/>
<link rel="top" title="Python Random User Generator 1.4.0 documentation" href="../index.html"/>


<script src="../_static/js/modernizr.min.js"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@


<div class="version">
1.3
1.4
</div>


Expand Down Expand Up @@ -192,7 +192,7 @@ <h1>All modules for which code is available</h1>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
VERSION:'1.3.0',
VERSION:'1.4.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
Expand Down
10 changes: 5 additions & 5 deletions docs/build/html/_modules/randomuser.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>randomuser &mdash; Python Random User Generator 1.3.0 documentation</title>
<title>randomuser &mdash; Python Random User Generator 1.4.0 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="index" title="Index"
href="../genindex.html"/>
<link rel="search" title="Search" href="../search.html"/>
<link rel="top" title="Python Random User Generator 1.3.0 documentation" href="../index.html"/>
<link rel="top" title="Python Random User Generator 1.4.0 documentation" href="../index.html"/>
<link rel="up" title="Module code" href="index.html"/>


Expand Down Expand Up @@ -67,7 +67,7 @@


<div class="version">
1.3
1.4
</div>


Expand Down Expand Up @@ -172,7 +172,7 @@ <h1>Source code for randomuser</h1><div class="highlight"><pre>
<span class="c1"># ----------------------------------------------------------------</span>

<span class="c1"># Python module version</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.3.0&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.4.0&#39;</span>

<span class="c1"># Version of the random user API</span>
<span class="n">API_VERSION</span> <span class="o">=</span> <span class="s1">&#39;1.1&#39;</span>
Expand Down Expand Up @@ -505,7 +505,7 @@ <h1>Source code for randomuser</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
VERSION:'1.3.0',
VERSION:'1.4.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '1.3.0',
VERSION: '1.4.0',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
Expand Down
8 changes: 4 additions & 4 deletions docs/build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Index &mdash; Python Random User Generator 1.3.0 documentation</title>
<title>Index &mdash; Python Random User Generator 1.4.0 documentation</title>



Expand Down Expand Up @@ -38,7 +38,7 @@
<link rel="index" title="Index"
href="#"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="Python Random User Generator 1.3.0 documentation" href="index.html"/>
<link rel="top" title="Python Random User Generator 1.4.0 documentation" href="index.html"/>


<script src="_static/js/modernizr.min.js"></script>
Expand Down Expand Up @@ -67,7 +67,7 @@


<div class="version">
1.3
1.4
</div>


Expand Down Expand Up @@ -342,7 +342,7 @@ <h2 id="V">V</h2>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.3.0',
VERSION:'1.4.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
Expand Down
8 changes: 4 additions & 4 deletions docs/build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Python Random User Generator &mdash; Python Random User Generator 1.3.0 documentation</title>
<title>Python Random User Generator &mdash; Python Random User Generator 1.4.0 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="Python Random User Generator 1.3.0 documentation" href="#"/>
<link rel="top" title="Python Random User Generator 1.4.0 documentation" href="#"/>
<link rel="next" title="RandomUser class" href="randomuser.html"/>


Expand Down Expand Up @@ -67,7 +67,7 @@


<div class="version">
1.3
1.4
</div>


Expand Down Expand Up @@ -234,7 +234,7 @@ <h2>Basic Usage<a class="headerlink" href="#basic-usage" title="Permalink to thi
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.3.0',
VERSION:'1.4.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
Expand Down
8 changes: 4 additions & 4 deletions docs/build/html/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>randomuser &mdash; Python Random User Generator 1.3.0 documentation</title>
<title>randomuser &mdash; Python Random User Generator 1.4.0 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="Python Random User Generator 1.3.0 documentation" href="index.html"/>
<link rel="top" title="Python Random User Generator 1.4.0 documentation" href="index.html"/>


<script src="_static/js/modernizr.min.js"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@


<div class="version">
1.3
1.4
</div>


Expand Down Expand Up @@ -200,7 +200,7 @@ <h1>randomuser<a class="headerlink" href="#randomuser" title="Permalink to this
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.3.0',
VERSION:'1.4.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
Expand Down
Binary file modified docs/build/html/objects.inv
Binary file not shown.
8 changes: 4 additions & 4 deletions docs/build/html/randomuser.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>RandomUser class &mdash; Python Random User Generator 1.3.0 documentation</title>
<title>RandomUser class &mdash; Python Random User Generator 1.4.0 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="Python Random User Generator 1.3.0 documentation" href="index.html"/>
<link rel="top" title="Python Random User Generator 1.4.0 documentation" href="index.html"/>
<link rel="prev" title="Python Random User Generator" href="index.html"/>


Expand Down Expand Up @@ -67,7 +67,7 @@


<div class="version">
1.3
1.4
</div>


Expand Down Expand Up @@ -554,7 +554,7 @@ <h1>RandomUser class<a class="headerlink" href="#randomuser-class" title="Permal
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.3.0',
VERSION:'1.4.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
Expand Down
8 changes: 4 additions & 4 deletions docs/build/html/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Search &mdash; Python Random User Generator 1.3.0 documentation</title>
<title>Search &mdash; Python Random User Generator 1.4.0 documentation</title>



Expand Down Expand Up @@ -37,7 +37,7 @@
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="#"/>
<link rel="top" title="Python Random User Generator 1.3.0 documentation" href="index.html"/>
<link rel="top" title="Python Random User Generator 1.4.0 documentation" href="index.html"/>


<script src="_static/js/modernizr.min.js"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@


<div class="version">
1.3
1.4
</div>


Expand Down Expand Up @@ -200,7 +200,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.3.0',
VERSION:'1.4.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
Expand Down
2 changes: 1 addition & 1 deletion randomuser.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# ----------------------------------------------------------------

# Python module version
__version__ = '1.3.0'
__version__ = '1.4.0'

# Version of the random user API
API_VERSION = '1.1'
Expand Down
10 changes: 4 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
from setuptools import setup, find_packages
import os
from setuptools import setup

setup_dir = os.path.abspath(os.path.dirname(__file__))

def readme():
with open(os.path.join(setup_dir, 'README.rst')) as f:
with open('README.rst') as f:
return f.read()

# Get __version__
with open(os.path.join(setup_dir, 'randomuser.py')) as f:
with open('randomuser.py') as f:
exec(f.read())

setup(name='randomuser',
Expand All @@ -20,5 +18,5 @@ def readme():
author='Connor de la Cruz',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
py_modules=['randomuser'],
zip_safe=False)

0 comments on commit 49a3cd5

Please sign in to comment.