Skip to content

Commit

Permalink
prep for pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
kexinhuang12345 committed Dec 25, 2020
1 parent 8228467 commit a53e6ca
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 10 deletions.
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
prune DEMO
prune toy_data
prune docs
include README.md
include requirements.txt
include LICENSE
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ scikit-learn
wget
torch
matplotlib
requests
requests
pandas-flavor
subword-nmt
lifelines
prettytable
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
27 changes: 18 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
import setuptools
from setuptools import setup
from os import path
from io import open

with open("README.md", "r") as fh:
long_description = fh.read()
this_directory = path.abspath(path.dirname(__file__))

setuptools.setup(
def readme():
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
return f.read()

with open(path.join(this_directory, 'requirements.txt'), encoding='utf-8') as f:
requirements = f.read().splitlines()

setup(
name="DeepPurpose",
version="0.0.1",
version="0.0.3",
author="Kexin Huang, Tianfan Fu",
license="BSD-3-Clause",
author_email="[email protected]",
description="a Deep Learning Based Drug Repurposing and Virtual Screening Toolkit",
long_description=long_description,
description="a Deep Learning Based Toolkit for Drug Discovery",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/kexinhuang12345/DeepPurpose",
packages=setuptools.find_packages(),
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Creative Commons Zero v1.0 Universal",
"License :: OSI Approved :: BSD-3-Clause License",
"Operating System :: OS Independent",
],
)

0 comments on commit a53e6ca

Please sign in to comment.