Skip to content

Commit

Permalink
Packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
dohlee committed Feb 15, 2023
1 parent 6eb3e11 commit 6f17b5e
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
30 changes: 30 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
from setuptools import setup, find_packages

setup(
name = 'abyssal-pytorch',
packages = find_packages(exclude=[]),
include_package_data = True,
version = '0.0.1',
license='MIT',
description = 'Abyssal - Pytorch',
author = 'Dohoon Lee',
author_email = '[email protected]',
long_description_content_type = 'text/markdown',
url = 'https://github.com/dohlee/abyssal-pytorch',
keywords = [
'artificial intelligence',
'protein stability',
],
install_requires=[
'einops>=0.3',
'numpy',
'torch>=1.6',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.9',
],
)

0 comments on commit 6f17b5e

Please sign in to comment.