-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (62 loc) · 2.12 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python
import os
import sys
sys.path.insert(0, os.path.abspath('src'))
from tempyenv import __version__, __author__
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
try:
from setuptools import setup, find_packages
except ImportError:
print("tempyenv needs setuptools in order to build. Install it using"
" your package manager (usually python-setuptools) or via pip (pip"
" install setuptools).")
sys.exit(1)
setup(
name='tempyenv',
version=__version__,
description='Easiest and quickest way to setup a temporary python virtual environment',
long_description=long_description,
long_description_content_type='text/markdown',
author=__author__,
author_email='[email protected]',
url='https://github.com/outbit/tempyenv',
license='MIT',
install_requires=[
'setuptools',
'venv'],
include_package_data=True,
package_dir={
'': 'src'},
package_data = { '': ['*.j2']},
packages=find_packages('src'),
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
python_requires='>=3.7',
entry_points={
'console_scripts': [
'tempyenv = tempyenv.cli:main',
'tmpyenv = tempyenv.cli:main',
]
},
data_files=[],
)