-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (36 loc) · 1.11 KB
/
setup.py
File metadata and controls
42 lines (36 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
38
39
40
41
42
from pathlib import Path
from setuptools import setup, find_namespace_packages
package_dir = Path(__file__).parent
readme_file = package_dir / "README.md"
requirements_file = package_dir / "requirements.txt"
with readme_file.open() as fp:
long_description = fp.read()
with requirements_file.open() as fp:
requirements = [r.strip() for r in fp.readlines()]
setup(
name="fancy-config",
version="0.13.5",
packages=find_namespace_packages("src"),
package_dir={"": "src"},
package_data={
"": ["*.md", "*.txt", "*.pyi"],
},
# metadata to display on PyPI
author="su-rin",
author_email="susautw@gmail.com",
description="config",
license="MIT",
keywords="config",
project_urls={
"Source Code": "https://github.com/susautw/fancy-config",
},
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
install_requires=requirements,
)