Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a pip install? #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,7 @@ Local

# .DS_Store
.DS_Store

# Pycharm
.idea/*
.idea
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include LICENSE *.txt
recursive-include cgcnn *
recursive-include data *
recursive-include pre-trained *
34 changes: 34 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env python

import os

from setuptools import setup, find_packages

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

if __name__ == "__main__":
setup(
name='cgcnn',
version='0.1.0',
description='Crystal Graph Convolutional Neural Networks',
long_description=open(os.path.join(module_dir, 'README.md')).read(),
url='https://github.com/txie-93/cgcnn',
author='Tian Xie',
author_email='txie@mit.edu',
license='modified BSD',
packages=find_packages(),
include_package_data=True,
package_data={'cgcnn.pre-trained': ['*'],
'cgcnn.data.sample-classification': ["*"],
'cgcnn.data.sample-regression': ["*"]},
zip_safe=False,
install_requires=['tensorflow', 'torch==0.4.1', 'torchvision'],
classifiers=['Programming Language :: Python :: 3.6',
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Operating System :: OS Independent',
'Topic :: Other/Nonlisted Topic',
'Topic :: Scientific/Engineering'],
)