Skip to content

Commit 2c3d8c3

Browse files
committed
scaffold
1 parent fcbfde7 commit 2c3d8c3

File tree

4 files changed

+69
-0
lines changed

4 files changed

+69
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
3+
# This workflow will upload a Python Package using Twine when a release is created
4+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
5+
6+
# This workflow uses actions that are not certified by GitHub.
7+
# They are provided by a third-party and are governed by
8+
# separate terms of service, privacy policy, and support
9+
# documentation.
10+
11+
name: Upload Python Package
12+
13+
on:
14+
release:
15+
types: [published]
16+
17+
jobs:
18+
deploy:
19+
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Set up Python
25+
uses: actions/setup-python@v2
26+
with:
27+
python-version: '3.x'
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install build
32+
- name: Build package
33+
run: python -m build
34+
- name: Publish package
35+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
36+
with:
37+
user: __token__
38+
password: ${{ secrets.PYPI_API_TOKEN }}

rin_pytorch/__init__.py

Whitespace-only changes.

rin_pytorch/rin_pytorch.py

Whitespace-only changes.

setup.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
from setuptools import setup, find_packages
2+
3+
setup(
4+
name = 'RIN-pytorch',
5+
packages = find_packages(exclude=[]),
6+
version = '0.0.1',
7+
license='MIT',
8+
description = 'RIN - Recurrent Interface Network - Pytorch',
9+
author = 'Phil Wang',
10+
author_email = '[email protected]',
11+
long_description_content_type = 'text/markdown',
12+
url = 'https://github.com/lucidrains/RIN-pytorch',
13+
keywords = [
14+
'artificial intelligence',
15+
'deep learning',
16+
'attention mechanism',
17+
'denoising diffusion',
18+
'image and video generation'
19+
],
20+
install_requires=[
21+
'einops>=0.6',
22+
'torch>=1.6',
23+
],
24+
classifiers=[
25+
'Development Status :: 4 - Beta',
26+
'Intended Audience :: Developers',
27+
'Topic :: Scientific/Engineering :: Artificial Intelligence',
28+
'License :: OSI Approved :: MIT License',
29+
'Programming Language :: Python :: 3.6',
30+
],
31+
)

0 commit comments

Comments
 (0)