-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (29 loc) · 1.45 KB
/
setup.py
File metadata and controls
30 lines (29 loc) · 1.45 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
from setuptools import setup, find_packages
setup(
name='ExampleProjectName', # Replace with your project's name
version='0.1.0', # Version of your project
author='Your Name', # Your name
author_email='you@example.com', # Your email address
description='A brief description of your project', # Short description
long_description=open('README.md').read(), # Long description from README
long_description_content_type='text/markdown', # Content type of long description
url='https://github.com/yourusername/your_project_name', # URL to your project's repository
packages=find_packages(where='src'), # Automatically find packages in the src directory
package_dir={'': 'src'}, # Source code is under src
python_requires='>=3.10', # Minimum Python version required
install_requires=[ # List of dependencies
'pytest>=7.0', # Specify pytest as a dependency
# Add other dependencies here
],
extras_require={ # Optional dependencies
'dev': [
'pytest-cov', # Coverage for pytest
# Add other development tools here
],
},
classifiers=[ # Classifiers for the project
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
)