-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (40 loc) · 1.43 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
from setuptools import setup, find_namespace_packages
setup(
name='sn-libraries',
version='0.1.0',
# Package discovery and structure
packages=find_namespace_packages(where='src'),
package_dir={'': 'src'},
# Dependencies (with version specifiers for stability)
install_requires=[
'facebook-sdk~=3.1.0', # Example version specifier
'instagrapi~=2.1.2',
'hikerapi',
'requests',
'beautifulsoup4~=4.12.3',
],
# Metadata
description="A set of Python libraries for automating Facebook and Instagram functions.",
long_description=open('README.md').read(), # Include README (if available)
long_description_content_type='text/markdown',
author="Your Name",
author_email="[email protected]",
url="https://github.com/MLSMIT/sn-libraries",
# Additional details
license="MIT",
classifiers=[ # Classify your project for better discoverability on PyPI
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha", # Adjust as needed
],
python_requires='>=3.7', # Specify minimum Python version
extras_require={
'dev': ['pytest', 'coverage']
},
entry_points={
'console_scripts': [
'my_sn_tool = sn_libraries.tools:main', # Define a command-line entry point
],
},
)