-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
34 lines (29 loc) · 1.02 KB
/
setup.py
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
import setuptools
import re
def find_version():
verstrline = open("venvlink/__version__.py", "rt").read()
try:
return re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", verstrline, re.M).group(
1
)
except:
raise RuntimeError("Could not find version string")
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setuptools.setup(
name="venvlink",
description="""Creating the virtual environment outside of the project folder, still retaining the feel of good ol' "python -m venv venv".""",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
version=find_version(),
author="Niko Pasanen",
author_email="[email protected]",
url="https://github.com/np-8/venvlink",
packages=setuptools.find_packages(),
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Utilities",
],
)