Skip to content

Commit

Permalink
Fix setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sovrasov committed Dec 26, 2023
1 parent d7e1ad9 commit 091ad0f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,22 @@

from setuptools import find_packages, setup

VERSION = '0.7.2'
VERSION = '0.7.2.1'

requirements = [
'torch',
]

SETUP_DIR = Path(__file__).resolve().parent

TEST_BASE_EXTRAS = (SETUP_DIR / 'test_requirements.txt').read_text()
EXTRAS_REQUIRE = {
'dev': TEST_BASE_EXTRAS,
}
TEST_REQ = SETUP_DIR / 'test_requirements.txt'

if TEST_REQ.is_file():
TEST_BASE_EXTRAS = TEST_REQ.read_text()
EXTRAS_REQUIRE = {
'dev': TEST_BASE_EXTRAS,
}
else:
EXTRAS_REQUIRE = {}

setup(
name='ptflops',
Expand Down

0 comments on commit 091ad0f

Please sign in to comment.