Skip to content

Commit

Permalink
add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwangx committed Jul 15, 2024
1 parent 7bab107 commit 0f6dd10
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 14 deletions.
26 changes: 26 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "repe"
version = "0.1.0"
description = "Representation Engineering"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = [
"transformers",
"accelerate",
]

[tool.setuptools]
packages = ["repe"]

[project.urls]
Homepage = "https://github.com/andyzoujm/representation-engineering"
Issues = "https://github.com/andyzoujm/representation-engineering/issues"
16 changes: 2 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
from setuptools import setup, find_namespace_packages
import setuptools

setup(
name="repe",
version="0.1",
description="",
packages=find_namespace_packages(), # This will automatically find packages
author="Center for AI Safety",
author_email="",
url="https://github.com/andyzoujm/representation-engineering",
install_requires=[
"transformers",
"accelerate",
],
)
setuptools.setup()

0 comments on commit 0f6dd10

Please sign in to comment.