tezuesh commited on
Commit
8e04545
·
verified ·
1 Parent(s): 8bb8c17

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. pyproject.toml +21 -1
  2. setup.py +3 -61
pyproject.toml CHANGED
@@ -7,6 +7,23 @@ name = "moshi-hf"
7
  version = "0.1.0"
8
  description = "Moshi HuggingFace inference server"
9
  requires-python = ">=3.8"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  dependencies = [
11
  "torch==2.4.1",
12
  "torchaudio==2.4.1",
@@ -36,4 +53,7 @@ dependencies = [
36
  "uvicorn==0.25.0",
37
  "fastapi==0.104.1",
38
  "pydantic==2.5.2"
39
- ]
 
 
 
 
7
  version = "0.1.0"
8
  description = "Moshi HuggingFace inference server"
9
  requires-python = ">=3.8"
10
+ authors = [
11
+ {name = "OMEGA Labs, Inc.", email = "salman@omega-labs.ai"}
12
+ ]
13
+ license = {text = "MIT"}
14
+ classifiers = [
15
+ "Development Status :: 3 - Alpha",
16
+ "Intended Audience :: Developers",
17
+ "Topic :: Software Development :: Build Tools",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Programming Language :: Python :: 3 :: Only",
20
+ "Programming Language :: Python :: 3.8",
21
+ "Programming Language :: Python :: 3.9",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Topic :: Scientific/Engineering",
24
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
25
+ ]
26
+ readme = "README.md"
27
  dependencies = [
28
  "torch==2.4.1",
29
  "torchaudio==2.4.1",
 
53
  "uvicorn==0.25.0",
54
  "fastapi==0.104.1",
55
  "pydantic==2.5.2"
56
+ ]
57
+
58
+ [tool.setuptools]
59
+ packages = ["moshi"]
setup.py CHANGED
@@ -1,62 +1,4 @@
1
- import re
2
- import os
3
- import codecs
4
- from os import path
5
- from io import open
6
- from setuptools import setup, find_packages
7
 
8
- def read_requirements(path):
9
- with open(path, "r") as f:
10
- requirements = f.read().splitlines()
11
- return requirements
12
-
13
- requirements = read_requirements("requirements.txt")
14
- here = path.abspath(path.dirname(__file__))
15
-
16
- with open(path.join(here, "README.md"), encoding="utf-8") as f:
17
- long_description = f.read()
18
-
19
- # Default version if __init__.py not found
20
- version_string = "0.1.0"
21
-
22
- # Try to load version from __init__.py if it exists
23
- init_file_path = os.path.join(here, "template/__init__.py")
24
- if os.path.exists(init_file_path):
25
- with codecs.open(init_file_path, encoding="utf-8") as init_file:
26
- version_match = re.search(
27
- r"^__version__ = ['\"]([^'\"]*)['\"]", init_file.read(), re.M
28
- )
29
- if version_match:
30
- version_string = version_match.group(1)
31
-
32
- setup(
33
- name="moshi-hf",
34
- version=version_string,
35
- description="Moshi HuggingFace inference server",
36
- long_description=long_description,
37
- long_description_content_type="text/markdown",
38
- url="https://github.com/omegalabsinc/omegalabs-anytoany-bittensor",
39
- author="OMEGA Labs, Inc.",
40
- packages=find_packages(),
41
- include_package_data=True,
42
- author_email="salman@omega-labs.ai",
43
- license="MIT",
44
- python_requires=">=3.8",
45
- install_requires=requirements,
46
- classifiers=[
47
- "Development Status :: 3 - Alpha",
48
- "Intended Audience :: Developers",
49
- "Topic :: Software Development :: Build Tools",
50
- "License :: OSI Approved :: MIT License",
51
- "Programming Language :: Python :: 3 :: Only",
52
- "Programming Language :: Python :: 3.8",
53
- "Programming Language :: Python :: 3.9",
54
- "Programming Language :: Python :: 3.10",
55
- "Topic :: Scientific/Engineering",
56
- "Topic :: Scientific/Engineering :: Mathematics",
57
- "Topic :: Scientific/Engineering :: Artificial Intelligence",
58
- "Topic :: Software Development",
59
- "Topic :: Software Development :: Libraries",
60
- "Topic :: Software Development :: Libraries :: Python Modules",
61
- ],
62
- )
 
1
+ from setuptools import setup
 
 
 
 
 
2
 
3
+ if __name__ == "__main__":
4
+ setup()