Skip to content

Commit

Permalink
using setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirs committed Sep 23, 2011
1 parent 4f72d23 commit 36d189a
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 1 deletion.
1 change: 1 addition & 0 deletions README
@@ -0,0 +1 @@
README to be filled in
1 change: 1 addition & 0 deletions examples/__init__.py
@@ -0,0 +1 @@
from plotting import *
1 change: 0 additions & 1 deletion examples/plotting.py
Expand Up @@ -19,4 +19,3 @@ def plotComparison(trainfile,testfile,scorelist,labelList=None,method="roc"):
labels.append(scorefile)
pylab.legend(labels)


1 change: 1 addition & 0 deletions netroc/__init__.py
@@ -0,0 +1 @@
from netroc import *
File renamed without changes.
27 changes: 27 additions & 0 deletions setup.py
@@ -0,0 +1,27 @@
import os
from setuptools import setup

# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
name = "netroc",
version = "0.1",
author = "Yasir Suhail",
description = ("Utility for constructing labels and scores for link prediction in large complex networks"),
license = "GNU Lesser General Public License (LGPL)",
keywords = "machine-learning complex-network link-prediction",
url = "https://github.com/yasirs/netroc",
packages=['netroc', 'examples'],
install_requires=['yard'],
long_description=read('README'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: LGPL License",
],
)

0 comments on commit 36d189a

Please sign in to comment.