-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (23 loc) · 891 Bytes
/
setup.py
File metadata and controls
29 lines (23 loc) · 891 Bytes
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
import os
from setuptools import find_packages, setup
import versioneer
# Function to parse requirements.txt
def parse_requirements(filename):
with open(filename, "r") as f:
return f.read().splitlines()
setup(
name="steamstore_etl", # Name of your package
version=versioneer.get_version(), # Initial release version
cmdclass=versioneer.get_cmdclass(), # Command line version
packages=find_packages(), # Automatically find and include all packages
include_package_data=True, # Include data files specified in MANIFEST.in
install_requires=parse_requirements(
os.path.join(os.path.dirname(__file__), "requirements.txt")
), # Use requirements.txt
entry_points={
"console_scripts": [
"steamstore=steam_sales.app:app",
],
},
python_requires=">=3.10", # Specify minimum Python version if needed
)