-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (33 loc) · 1.11 KB
/
setup.py
File metadata and controls
37 lines (33 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from setuptools import setup, find_packages
from pathlib import Path
version = "0.0.1"
here = Path(__file__).parent.resolve()
with open(here.joinpath("README.md"), encoding="utf-8") as f:
long_description = f.read()
with open(here.joinpath("requirements.txt"), encoding="utf-8") as f:
requirements = f.readlines()
setup(
name="PACKAGE_NAME",
version=version,
description="A short description",
long_description=long_description,
long_description_content_type="text/markdown",
url="Url to the repo",
author="NAME",
author_email="CONTACT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Any other classifiers..."
],
keywords=["Relevant", "keywords", "go", "here"],
packages=find_packages(),
python_requires="Supported versions e.g. >=3.5",
install_requires=[requirements],
project_urls={
"Bug Reports": "Url to issues section of the repo",
"Source": "Url to the repo",
}
)