Skip to content

Commit 38965af

Browse files
committed
scaffold
1 parent 77c2f5f commit 38965af

File tree

4 files changed

+68
-0
lines changed

4 files changed

+68
-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 }}

perfusion_pytorch/__init__.py

Whitespace-only changes.

perfusion_pytorch/perfusion.py

Whitespace-only changes.

setup.py

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

0 commit comments

Comments
 (0)