Skip to content

Commit 0f6dd10

Browse files
committed
add pyproject.toml
1 parent 7bab107 commit 0f6dd10

File tree

2 files changed

+28
-14
lines changed

2 files changed

+28
-14
lines changed

pyproject.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "repe"
7+
version = "0.1.0"
8+
description = "Representation Engineering"
9+
readme = "README.md"
10+
classifiers = [
11+
"Programming Language :: Python :: 3",
12+
"License :: OSI Approved :: MIT License",
13+
"Operating System :: OS Independent",
14+
]
15+
requires-python = ">=3.9"
16+
dependencies = [
17+
"transformers",
18+
"accelerate",
19+
]
20+
21+
[tool.setuptools]
22+
packages = ["repe"]
23+
24+
[project.urls]
25+
Homepage = "https://github.com/andyzoujm/representation-engineering"
26+
Issues = "https://github.com/andyzoujm/representation-engineering/issues"

setup.py

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
from setuptools import setup, find_namespace_packages
1+
import setuptools
22

3-
setup(
4-
name="repe",
5-
version="0.1",
6-
description="",
7-
packages=find_namespace_packages(), # This will automatically find packages
8-
author="Center for AI Safety",
9-
author_email="",
10-
url="https://github.com/andyzoujm/representation-engineering",
11-
install_requires=[
12-
"transformers",
13-
"accelerate",
14-
],
15-
)
3+
setuptools.setup()

0 commit comments

Comments
 (0)