Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated the setup file and added a LICENSE line

  • Loading branch information...
commit c8060e22b2d439756b476bead78cebf2ccebeea0 1 parent 91b40e1
Josh Benham authored September 19, 2012

Showing 1 changed file with 36 additions and 15 deletions. Show diff stats Hide diff stats

  1. 51  setup.py
51  setup.py
... ...
@@ -1,18 +1,39 @@
  1
+# -*- coding: utf-8 -*-
  2
+#
  3
+#  setup.py
  4
+#  coderwall
  5
+#
  6
+#  Created by Josh Benham.
  7
+
  8
+"""
  9
+The package configuration for coderwall.
  10
+"""
  11
+
1 12
 from setuptools import setup
2 13
 
3  
-setup(name='coderwall',
4  
-  version='0.1',
5  
-  description='CoderWall command line interface to retrieve users statistics',
6  
-  long_description=open('README.md').read(),
7  
-  classifiers=[
8  
-    "Programming Language :: Python",
9  
-  ],
10  
-  author="Josh Benham",
11  
-  author_email='joshbenham@gmail.com',
12  
-  url='https://github.com/joshbenham/coderwall',
13  
-  keywords='web python coderwall statistics cli terminal',
14  
-  packages=['coderwall',],
15  
-  scripts=['coderwall_r'],
16  
-  install_requires=open('requirements.txt').read(),
17  
-)
  14
+with open('README.md') as f:
  15
+    readme = f.read()
18 16
 
  17
+with open('LICENSE') as f:
  18
+    license = f.read()
  19
+
  20
+with open('requirements.txt') as f:
  21
+    requirements = f.read()
  22
+
  23
+setup(
  24
+    name='coderwall',
  25
+    version='0.0.1',
  26
+    description='CoderWall command line interface to retrieve users statistics',
  27
+    long_description=readme,
  28
+    keywords='web python coderwall statistics cli terminal',
  29
+    author='Josh Benham',
  30
+    author_email='joshbenham@gmail.com',
  31
+    url='https://github.com/joshbenham/coderwall',
  32
+    license=license,
  33
+    classifiers=[
  34
+        "Programming Language :: Python",
  35
+    ],
  36
+    packages=['coderwall'],
  37
+    scripts=['coderwall_r'],
  38
+    install_requires=requirements,
  39
+)

0 notes on commit c8060e2

Please sign in to comment.
Something went wrong with that request. Please try again.