|
16 | 16 | # |
17 | 17 | import setuptools |
18 | 18 |
|
19 | | -with open('apps.txt') as f: |
| 19 | +with open("apps.txt") as f: |
20 | 20 | apps = f.read().splitlines() |
21 | 21 |
|
22 | | -apps = ['hyperion/bin/' + app for app in apps] |
| 22 | +apps = ["hyperion/bin/" + app for app in apps] |
23 | 23 |
|
24 | | -with open('requirements.txt') as f: |
| 24 | +with open("requirements.txt") as f: |
25 | 25 | requirements = f.read().splitlines() |
26 | 26 |
|
27 | 27 | with open("README.md", "r") as fh: |
28 | 28 | long_description = fh.read() |
29 | 29 |
|
30 | 30 | setuptools.setup( |
31 | | - name="hyperion", # Replace with your own username |
32 | | - version="0.1.1", |
| 31 | + # This name will decide what users will type when they install your package. |
| 32 | + name="hyperion-ml", |
| 33 | + # The version of your project. |
| 34 | + # Usually, it would be in the form of: |
| 35 | + # major.minor.patch |
| 36 | + # eg: 1.0.0, 1.0.1, 3.0.2, 5.0-beta, etc. |
| 37 | + # You CANNOT upload two versions of your package with the same version number |
| 38 | + version="0.1.0rc1", |
33 | 39 | author="Jesus Villalba", |
34 | 40 | author_email="jesus.antonio.villalba@gmail.com", |
| 41 | + # The description that will be shown on PyPI. |
| 42 | + # Keep it short and concise |
| 43 | + # This field is OPTIONAL |
35 | 44 | description="Toolkit for speaker recognition", |
| 45 | + # The content that will be shown on your project page. |
| 46 | + # In this case, we're displaying whatever is there in our README.md file |
| 47 | + # This field is OPTIONAL |
36 | 48 | long_description=long_description, |
37 | 49 | long_description_content_type="text/markdown", |
| 50 | + keywords="speaker recognition, adversarial attacks, NIST SRE, x-vectors", |
38 | 51 | url="https://github.com/hyperion-ml/hyperion", |
39 | | - packages=setuptools.find_packages(), |
| 52 | + # The packages that constitute your project. |
| 53 | + # For my project, I have only one - "pydash". |
| 54 | + # Either you could write the name of the package, or |
| 55 | + # alternatively use setuptools.findpackages() |
| 56 | + # |
| 57 | + # If you only have one file, instead of a package, |
| 58 | + # you can instead use the py_modules field instead. |
| 59 | + # EITHER py_modules OR packages should be present. |
| 60 | + packages=setuptools.find_packages(exclude="tests"), |
40 | 61 | classifiers=[ |
41 | 62 | "Programming Language :: Python :: 3", |
42 | 63 | "Programming Language :: Python :: 3.7", |
43 | 64 | "Programming Language :: Python :: 3.8", |
44 | | - "License :: OSI Approved :: Apache 2.0", |
| 65 | + "License :: OSI Approved :: Apache Software License", |
45 | 66 | "Operating System :: OS Independent", |
46 | 67 | ], |
47 | | - python_requires='>=3.7', |
| 68 | + python_requires=">=3.7", |
48 | 69 | install_requires=requirements, |
49 | | - scripts=apps) |
| 70 | + scripts=apps, |
| 71 | +) |
0 commit comments