-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (33 loc) · 912 Bytes
/
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
from setuptools import setup, find_packages
# Define package metadata
NAME = 'meta-api-python'
VERSION = '0.1.0'
DESCRIPTION = 'Python wrapper to the various APIs in Meta Platform'
AUTHOR = 'Santosh Dahal'
EMAIL = '[email protected]'
URL = 'https://github.com/santoshdahal2016/meta-api-python.git'
# Specify package dependencies
INSTALL_REQUIRES = [
"requests"
]
DEV_REQUIRES = [
"pytest"
]
with open("README.md", "r") as f:
LONG_DESCRIPTION = f.read()
# Define the packages to be included in the distribution
PACKAGES = find_packages()
# Create the setup configuration
print(f'Name set to: {NAME}')
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=PACKAGES,
install_requires=INSTALL_REQUIRES,
)